Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This member function implements the behavior of the Win32 message TVM_SETTOOLTIPS, as described in the Windows SDK.
CToolTipCtrl* SetToolTips(
CToolTipCtrl* pWndTip
);
Parameters
- pWndTip
A pointer to a CToolTipCtrl object that the tree control will use.
Return Value
A pointer to a CToolTipCtrl object containing the tooltip previously used by the control, or NULL if no tooltips were used previously.
Remarks
To use tooltips, indicate the TVS_NOTOOLTIPS style when you create the CTreeCtrl object.
Example
See the example for CTreeCtrl::GetToolTips.
Requirements
Header: afxcmn.h