I would derive a class from the CheckedListBox class and override the
WndProc method to handle the LBC_SETCHECKSTATE message.
Unfortunately, this is not a constant, but something that is determined
at run time. You will need to call the RegisterWindowMessage API function
through P/Invoke, passing the string "LBC_SETCHECKSTATE" string to it, and
then checking against that.
Hope this helps.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.