|
-
January 26th, 2012, 03:09 PM
#1
how to prevent changing selection in a list box
How can I prevent changing selection in a list box (CListBox).
When user changes the selection I need to verify current data. If the data is not valid I need to disallow changing the selection. I handled ON_LBN_SELCHANGE but it doesn't give me much control. I am looking for something like SELECTION_CHANGING where I can cancel the change if my data is not valid. Is this possible in a list box?
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
|