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
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