|
-
Oct 31st, 2001, 05:50 AM
#1
Thread Starter
Addicted Member
Sub Classing a ListBox
I'm writing an application which has a listbox full of items. The Style property in the ListBox is set to 1 - CheckBox. I need to stop the user unchecking the first item in the listbox. I've written the code to subclass the ListBox to detect the WM_LBUTTONDOWN message, but I don't know how to find out whether the check box of the first item in the list was clicked.
How do I check if the check box of the first item in the list was clicked?
Thanks in advance
Last edited by VB6Coder; Oct 31st, 2001 at 05:55 AM.
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
|