TTM_SETMAXTIPWIDTHTTM_SETMAXTIPWIDTH*
*Contents  *Index  *Topic Contents
*Previous Topic: TTM_SETMARGIN
*Next Topic: TTM_SETTIPBKCOLOR

TTM_SETMAXTIPWIDTH


TTM_SETMAXTIPWIDTH
    wParam = 0;
    lParam = (LPARAM)(INT) iWidth;

Sets the maximum width for a tooltip window.

iWidth
Maximum tooltip window width to be set.

The maximum tooltip width value does not indicate a tooltip window's actual width. Rather, if a tooltip string exceeds the maximum width, the control breaks the text into multiple lines, using spaces to determine line breaks. If the text cannot be segmented into multiple lines, it will be displayed on a single line. The length of this line may exceed the maximum tooltip width.

Version 4.70.

See also TTM_GETMAXTIPWIDTH


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.