Share via


CTooltipManager::DeleteToolTip

Deletes a tooltip control.

static void DeleteToolTip(
   CToolTipCtrl*& pToolTip 
);

Parameters

  • [in, out] pToolTip
    A reference to a pointer to a tooltip to be destroyed.

Remarks

Call this method for each CToolTipCtrl Class that was created by CTooltipManager::CreateToolTip. The parent control should call this method from its OnDestroy handler. This is required to correctly remove the tooltip from the framework. This method sets pToolTip to NULL before it returns.

Requirements

Header: afxtooltipmanager.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CTooltipManager Class