Call this member function to set the focus rectangle to the item at the specified index in a multiple-selection list box.
int SetCaretIndex( int nIndex, BOOL bScroll = TRUE );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CListBox Overview, CListBox Member Functions, Control Classes, CListBox::GetCaretIndex