Just wondering...what's the message generated when the user double-clicks on a listbox? I don't like having to use a button to process listbox selections when every other app in the world can just let you double-click an entry .
Would you just do...
I think that's the way you'd process the messages, but not quite sure...any help?Code:case WM_COMMAND: switch(LOWORD(wParam)) { case ID_LIST1: switch(HIWORD(wParam)) { case LBN_DBLCLK: /*process*/ } return 0; } return 0;