Getting "Item Selected" message from a CListCtrl

Hi,

I need to get a message when an item is selected in my ListBox.
The reason is for that is because I want to enable/disable a button in my dialog according to the number of selected items.

Thanks in advance
israel022697Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Tommy HuiConnect With a Mentor EngineerCommented:
You need to use LBN_SELCHANGE. This is a notification from the listbox that something about the selection has changed.
0
 
israel022697Author Commented:
How can I use it with MFC ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.