Sets the text and description for a tooltip.
static void SetTooltipText(
   TOOLINFO* pTI,
   CToolTipCtrl* pToolTip,
   UINT nType,
   const CString strText,
   LPCTSTR lpszDescr=NULL 
);
Parameters
- [in] pTI 
 A pointer to a TOOLINFO object.
- [in, out] pToolTip 
 A pointer to the tooltip control for which to set the text and description.
- [in] nType 
 Specifies the type of control with which this tooltip is associated.
- [in] strText 
 The text to set as the tooltip text.
- [in] lpszDescr 
 A pointer to the tooltip description. Can be NULL.
Remarks
The value of nType must be the same value as the nType parameter of CTooltipManager::CreateToolTip when you created the tooltip.
Requirements
Header: afxtooltipmanager.h