Click to See Complete Forum and Search --> : How can I get the WM_LBUTTONUP message in the CListCtrl in a Dialog?


cry
April 9th, 1999, 01:38 AM
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
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