Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
CToolTipCtrl* GetToolTips( );
Return Value
A pointer to a CToolTipCtrl object to be used by the tree control. If the Create member function uses the style TVS_NOTOOLTIPS, no tooltips are used, and NULL is returned.
Remarks
This member function implements the behavior of the Win32 message , as described in the Platform SDK.
The MFC implementation of GetToolTips returns a CToolTipCtrl object, which is used by the tree control, rather than a handle to a tooltip control.
Example
// The pointer to my tree control.
extern CTreeCtrl* pmyTreeCtrl;
// A pointer to a tooltips control.
extern CToolTipCtrl* pmyToolTip;
// If the tree control does not have a tooltips control,
// then use pmyToolTip as the tooltips for the tree control.
if (pmyTreeCtrl->GetToolTips() == NULL)
{
pmyTreeCtrl->SetToolTips(pmyToolTip);
}
CTreeCtrl Overview | Class Members | Hierarchy Chart
See Also CTreeCtrl::SetToolTips