views:

79

answers:

1

Does anyone know how to un-highlight a previously selected line in an MFC CListCtrl programmatically ?

+1  A: 

To de-select the 20th item:

YourListCtrl.SetItemState(20, 0, LVIS_SELECTED);
Jerry Coffin
Thank you. Have a great day! That's what I needed.
Mike S