Call this member function to determine the index of the item that has the focus rectangle in a multiple-selection list box.
int GetCaretIndex( ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CListBox Overview, CListBox Member Functions, Control Classes, CListBox::SetCaretIndex