Re: Listview deselect

new topic     » goto parent     » topic index » view thread      » older message » newer message

Thanks.  That's exactly what I was looking for.

>>> cafromsw at yahoo.com 01/17/03 02:48PM >>>

I do it like this;

to unselect a row;
setLVItem(LV, LVIF_STATE, Idx, 0, 
           0, LVIS_SELECTED, 0, 0, 0)

to select a row;
setLVItem(LV, LVIF_STATE, Idx, 0, 
           LVIS_SELECTED, LVIS_SELECTED, 0, 0, 0)

where LV is your ListView and Idx is the index of the
row to select/deselect

Chris cafromsw at yahoo.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu