CListBox::SetCurSel

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.

Syntax

int SetCurSel( int nSelect );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CListBox Overview, CListBox Member Functions, Control Classes, CListBox::GetCurSel