Re: Listview deselect
- Posted by Sabal.Mike at notations.com Jan 17, 2003
- 388 views
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