LM_SETITEMHEIGHT (1.2)
◄Message Group► ◄Overview► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINLISTBOXES
LM_SETITEMHEIGHT
mp1 = MPFROMSHORT((SHORT) sHeight); /* item height */
mp2 = 0L; /* not used, must be zero */
The list-box control responds to an LM_SETITEMHEIGHT message from an
application by setting the height of the items in a list box to the height
specified by the sHeight parameter.
Parameter Description
────────────────────────────────────────────────────────────────────────────
sHeight Low word of mp1. Specifies the height of each item in the list
box.
Return Value
The return value is TRUE if the operation is successful or FALSE if an error
occurs.
See Also
WM_MEASUREITEM
♦