Share via


TTM_GETMAXTIPWIDTH (Windows CE 5.0)

Send Feedback

This message retrieves the maximum width for a ToolTip window.

TTM_GETMAXTIPWIDTH wParam= 0;lParam= 0;

Parameters

  • wParam
    Not used. Set to 0.
  • lParam
    Not used. Set to 0.

Return Values

An integer value indicates the maximum ToolTip width, in pixels. -1 indicates that no maximum width is set.

Remarks

The value for the maximum ToolTip width does not indicate the actual width of the ToolTip window. Rather, if a ToolTip string exceeds the maximum width, the control splits the text into multiple lines, using spaces to determine line breaks. If the control cannot split the text into multiple lines, the control displays the text on a single line. The length of this line can exceed the maximum ToolTip width.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Commctrl.h.

See Also

TTM_SETMAXTIPWIDTH

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.