Partager via


LB_GETITEMHEIGHT (Compact 2013)

3/28/2014

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

Syntax

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 Value

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.

Requirements

Header

winuser.h

See Also

Reference

List Box Messages
LB_SETITEMHEIGHT