Is there an equivalent event to LBN_SELCHANGE but for a listview? I know how to find out which items are selected, I just need notification the the user selected something, unselected something, or added a selection in the listview. I would guess it would be somewhere in the NMHDR.code of the WM_NOTIFY message but am unable to find it. I can trap the NM_CLICK, NM_DBLCLK etc, and add in a bunch of code to see if the user move the highlight with the up or down arrow keys, but I was hoping there was something simple like selchange.
LVN_ITEMCHANGED
Thank you Comrade, when I read that I was thinking it was only if the contents of the item changed. :red
Jimq,
You can also use LV_KEYDOWN to detect keyboard events in a list control.
Paul