BCGControlBar Pro for MFC
static void CBCGPTooltipManager::SetTooltipText ( TOOLINFO *  pTI,
CToolTipCtrl *  pToolTip,
UINT  nType,
const CString  strText,
LPCTSTR  lpszDescr = NULL 

Sets tooltip text and description.

Use this method to set text and description for all tooltips attached to controls of the specified type.

pTIA pointer to TOOLINFO
pToolTipA pointer to tooltip control whose text and description is being set.
nTypeSpecifies the type of control(s) this tooltip associated with.
strTextTooltip text.
lpszDescrA pointer to the tooltip description. Can be NULL.