CB_SETTOPINDEX (Windows CE 5.0)

Send Feedback

This message is sent by an application 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.

CB_SETTOPINDEXwParam = (WPARAM)index;  lParam = 0;

Parameters

  • index
    Zero-based index of the list item.
  • lParam
    Not used.

Return Values

Zero indicates success. CB_ERR indicates failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

Combo Boxes Messages | SendMessage | CB_GETTOPINDEX

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.