News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Listview Selchange

Started by Jimg, July 29, 2005, 06:54:25 PM

Previous topic - Next topic

Jimg

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.

comrade


Jimg

Thank you Comrade, when I read that I was thinking it was only if the contents of the item changed.   :red

PBrennick

Jimq,
You can also use LV_KEYDOWN to detect keyboard events in a list control.

Paul
The GeneSys Project is available from:
The Repository or My crappy website