|
From: Noorez K. <lor...@ho...> - 2006-03-10 20:09:38
|
I can't seem to capture the LBN_DBLCLK notification for my list box...
the following code is how I am doing it...
case WM_COMMAND:
{
switch( LOWORD(wParam) )
{
case LIST:
{
switch( HIWORD( wParam ) )
{
case LBN_DBLCLK:
{
int location = SendMessage( textList, LB_GETCURSEL, 0, 0
);
char buffer[256];
SendMessage( textList, LB_GETTEXT, (WPARAM)location,
(LPARAM)buffer );
MessageBox( hwnd, buffer, "MSG", MB_OK );
break;
}
}
break;
}
}
}
_________________________________________________________________
Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The new
MSN Search! Check it out!
|