CListBox::SetTopIndex

Call this member function to ensure that a particular list-box item is visible. The system scrolls the list box until either the item specified by nIndex appears at the top of the list box or the maximum scroll range has been reached.

Syntax

int SetTopIndex( int nIndex );

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