Compartilhar via


LB_SETITEMHEIGHT (Windows CE 5.0)

Send Feedback

This message is sent by an application to set the height, in pixels, of items in a list box. Otherwise, this message sets the height of all items in the list box.

LB_SETITEMHEIGHT wParam = (WPARAM) index;lParam = MAKELPARAM(cyItem, 0);

Parameters

  • index
    Zero-based index of the item in the list box. Use this parameter only if the list box has the LBS_OWNERDRAWVARIABLE style; otherwise, set it to zero.

  • cyItem
    Specifies the height, in pixels, of the item.

    Note   In previous versions of Windows CE, cyItem could specify a maximum height of 255 pixels, but that limitation no longer exists.

Return Values

LB_ERR indicates that the index or height is invalid.

Remarks

The index parameter must be set to zero.

Requirements

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

See Also

LB_GETITEMHEIGHT | List Boxes Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.