CListBox::GetCurSel

Call this member function to retrieve the zero-based index of the currently selected item, if any, in a single-selection list box.

Syntax

int GetCurSel( ) const;

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::SetCurSel