Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A version of this page is also available for
4/8/2010
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 |
| Windows Embedded CE | Windows CE 1.0 and later |
| Windows Mobile | Windows Mobile Version 5.0 and later |