CB_SETTOPINDEX message
An application sends the CB_SETTOPINDEX message to ensure that a particular item is visible in the list box of a combo box. The system scrolls the list box contents so that either the specified item appears at the top of the list box or the maximum scroll range has been reached.
Parameters
-
wParam
-
Specifies the zero-based index of the list item.
-
lParam
-
This parameter is not used.
Return value
If the message is successful, the return value is zero.
If the message fails, the return value is CB_ERR.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|