Share via


LB_GETITEMHEIGHT

This message is sent by an application to retrieve the height of items in a list box.

LB_GETITEMHEIGHT wParam = (WPARAM) index; 
  lParam = 0;

Parameters

  • index
    Zero-based index of the list box item. This index is used only if the list box has the LBS_OWNERDRAWVARIABLE style; otherwise, it must be zero.
  • lParam
    Not used.

Return Values

The height, in pixels, of each item in the list box indicates success. The height of the item specified by the index parameter indicates that the list box has the LBS_OWNERDRAWVARIABLE style. LB_ERR indicates that an error has occurred.

Remarks

Windows CE does not support owner draw list boxes.

Requirements

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

See Also

LB_SETITEMHEIGHT | List Box Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.