Export (0) Print
Expand All

LB_SETITEMHEIGHT

Windows CE .NET

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. The maximum height for an item is 255 pixels.

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 Box Messages


Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.

Show:
© 2014 Microsoft