COXToolTipCtrl::SetMaxTipWidth
int SetMaxTipWidth(int nWidth)
Parameters
nWidth |
The maximum width of a tooltip window, or
zero (0) if this width is to be calculated automatically. 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. |
Return Value
The previous maximum tooltip window width.
Remarks
Sets the maximum tooltip window width.
See also: GetMaxTipWidth