Does anyone know how to un-highlight a previously selected line in an MFC CListCtrl programmatically ?
To de-select the 20th item:
YourListCtrl.SetItemState(20, 0, LVIS_SELECTED);