Re: Listview deselect

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

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!
>
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu