LM_SETITEMHEIGHT
Appearance
This message sets the height of the items in a list box.
Syntax
param1 ULONG flNewHeight; /* Height of items in list box. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- flNewHeight (ULONG) - input
- Height of items in list box.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- rc (BOOL) - return
- Success indicator.
- TRUE: Successful operation.
- FALSE: Error occurred.
Remarks
The list box control window procedure responds to this message by setting the height of the items in a list box to that specified by flNewHeight.
This message does not send a WM_MEASUREITEM message.
Default Processing
The default window procedure does not expect to receive this message and therefore takes no action on it, other than to set rc to the default value of FALSE.