|
-
April 21st, 1999, 10:21 AM
#1
How to trap double click messages from ListBox
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
-
April 21st, 1999, 10:58 AM
#2
Re: How to trap double click messages from ListBox
Is the list box style LBS_NOTIFY?
-
August 25th, 2005, 02:18 PM
#3
Re: How to trap double click messages from ListBox
Thanx for a good "to the point" thread and reply. Solved my problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|