LB_GETITEMHEIGHT

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

At a Glance

Header file: Winuser.h
Windows CE versions: 1.0 and later

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.

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.

See Also

LB_SETITEMHEIGHT