LB_GETITEMHEIGHT

An application sends an LB_GETITEMHEIGHT message to determine the height of items in a list box.

Parameters

wParam

Specifies the index of the list-box item. This parameter is only used if the list box has the LBS_OWNERDRAWVARIABLE style; otherwise, it should be set to zero.

lParam

This parameter is not used.

Return Value

The return value is the height (in pixels) of the items in the list box. If the list box has the LBS_OWNERDRAWVARIABLE style, the return value is the height of the item specified by the wParam parameter. The return value is LB_ERR if an error occurs.

See Also

LB_SETITEMHEIGHT