Jump to content

LM_SETITEMHEIGHT

From EDM2
Revision as of 02:21, 28 April 2025 by Martini (talk | contribs) (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:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.