CComboBox::SetTopIndex

int SetTopIndex( int nIndex );

返回值:
调用成功时返回0,否则返回LB_ERR。

参数:
nIndex指定列表项的下标。

说明:
本函数用来使组合框的列表框中的某个项是可见的。必要时,系统会滚动列表框使指定的项显示在列表的可视区域的最上面,或者滚动到不能滚动为止。

请参阅:
CComboBox::GetTopIndex, CB_SETTOPINDEX