CListBox::GetTopIndex

int GetTopIndex( ) const;

Return Value

The zero-based index of the first visible item in a list box if successful, LB_ERR otherwise.

Remarks

Retrieves the zero-based index of the first visible item in a list box. Initially, item 0 is at the top of the list box, but if the list box is scrolled, another item may be at the top.

CListBox OverviewClass MembersHierarchy Chart

See Also   CListBox::SetTopIndex, LB_GETTOPINDEX