msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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