Jump to content
Sign in to follow this  

Reading CheckedChanged events from Listview with $LVS_EX_CHECKBOXES

Recommended Posts


Hey all,

I currently have a listview control set up with the $LVS_EX_CHECKBOXES extended style applied.

I want to receive the checkedchanged event for the listview in order to change the text of a label control that states "xx of xx total items checked" - I have tested with the NM_CLICK message, but the problem with that is, the click event occurs prior to the checkedchanged event, so if I read the CheckedState of the items in the list box, it hasn't changed yet. Therefore, it doesn't see the item as checked yet.

Any ideas? -- I have tried to search for the event ODS_CHECKED, but haven't had any luck finding out the hex code for that event....help, please...Thanks!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this