Re: Listview deselect
- Posted by cafromsw at yahoo.com
Jan 17, 2003
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
--- Sabal.Mike at notations.com wrote:
>
> I want to be able to clear a ListView selection
> programmatically after
> action has been taken on the selected items. I
> haven't been able to
> find how to do this in the archives.
>
> TIA,
> Mike Sabal
>
>
>
>
> TOPICA - Start your own email discussion group.
> FREE!
>
>
>
|
Not Categorized, Please Help
|
|