Method SetMaxWidth
SetMaxWidth(int)
Sets tooltip maximal width in pixels.
bool SetMaxWidth(int width)
Parameters
widthintToolTip width in pixels.
Returns
- bool
trueif operation is successful;falseotherwise.
Remarks
By default, tooltips are wrapped at a suitably chosen width. You can pass -1 as width to disable wrapping them completely, 0 to restore the default behaviour or an arbitrary positive value to wrap them at the given width. Notice that this function does not change the width of the tooltips created before calling it. Currently this function is Windows-only.