CComboBox::SetTopIndex

This method ensures that a particular item is visible in the list-box portion of the combo box. 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.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

int SetTopIndex( int nIndex );

See Also

CComboBox::GetTopIndex