Retrieves the preferred height of a link for the control's current width.
- 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 valueInteger that represents the preferred height of the link text, in pixels.
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.
Minimum supported client
|Windows Vista [desktop apps only]|
Minimum supported server
|Windows Server 2008 [desktop apps only]|
Build date: 10/27/2012