LM SETITEMHEIGHT: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:LM_SETITEMHEIGHT}} This message sets the height of the items in a list box. ==Syntax== <pre> param1 ULONG flNewHeight; →Height of items in list box.: param2 ULONG ulReserved; →Reserved value, should be 0.: </pre> ==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:..." |
(No difference)
|
Latest revision as of 02:21, 28 April 2025
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.