You have to use SetItemState()
e.g.
Code:................ list->SetFocus(); list->SetSelectionMark(index); list->SetItemState(index,LVIS_SELECTED, LVIS_SELECTED); list->EnsureVisible(index, FALSE); ...................
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 10 of 10
Thread: CListCtrl help!Threaded View
|
Click Here to Expand Forum to Full Width |