LM_GETIDEALSIZE message
Retrieves the preferred height of a link for the control's current width.
Parameters
-
wParam
- Maximum width of the link, in pixels.
-
lParam [out]
- When this message returns, contains a pointer to a **SIZE** structure. The **cy** member of this structure indicates the ideal height of the control for the given width. It adjusts the **cx** member to the amount of space actually needed.
Return value
Integer that represents the preferred height of the link text, in pixels.
Remarks
Note
To use this API, you must provide a manifest that specifies Comclt32.dll version 6.0. For more information on manifests, see Enabling Visual Styles.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|