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 |
|
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för