Share via


CToolTipCtrl::SetMaxTipWidth

Sets the maximum width for a tool tip window.

int SetMaxTipWidth( 
   int iWidth  
);

Parameters

  • iWidth
    The maximum tool tip window width to be set.

Return Value

The previous maximum tip width.

Remarks

This member function implements the behavior of the Win32 message TTM_SETMAXTIPWIDTH, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CToolTipCtrl Class

Hierarchy Chart

CToolTipCtrl::GetMaxTipWidth