Hi,
I am trying to catch a double click message from a listbox (IDC_LIST1).
In the handler I am checking for


switch (msg)
{

case WM_COMMAND:

if ((int)LOWORD(wParam)==IDC_LIST1)
{
if ((int)HIWORD(wParam)==LBN_DBLCLK)
{
do something
}
}

but this code is not working. If I use Spy++ I can see that the ListBox
notification is being sent, but the handler is not handling this.

Any Ideas?

Thanks
Suresh Krishnan