Call this member function to select a string and scroll it into view, if necessary. When the new string is selected, the list box removes the highlight from the previously selected string.
int SetCurSel( int nSelect );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CListBox Overview, CListBox Member Functions, Control Classes, CListBox::GetCurSel