|
-
April 9th, 1999, 01:38 AM
#1
How can I get the WM_LBUTTONUP message in the CListCtrl in a Dialog?
I have a list control in a dialog,and I need to get the selected items on mouse left button lifted.But I cannot get the message in the list control? why ? What can I do to make it ?
thanks
----------------------
Learn more,Run faster
-
April 9th, 1999, 03:05 AM
#2
Re: How can I get the WM_LBUTTONUP message in the CListCtrl in a Dialog?
Hello,
You don't need to catch the left button down in order to get the selected item.
Try this:
In MFC Class Wizard, select the your list control and catch the NM_CLICK.
When the user selects an item in the list control it will call this function.
HTH
David
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
|