LB_SETITEMHEIGHT

An application sends an LB_SETITEMHEIGHT message to set the height of items in a list box. If the list box has the LBS_OWNERDRAWVARIABLE style, this message sets the height of the item specified by the wParam parameter. Otherwise, this message sets the height of all items in the list box.

Parameters

wParam

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

lParam

Specifies the height (in pixels) of the item.

Return Value

The return value is LB_ERR if the index or height is invalid.

See Also

LB_GETITEMHEIGHT