Bagikan melalui


CMFCToolTipCtrl::SetParams

Specifies the visual appearance of a tooltip by using a CMFCToolTipInfo Class object.

void SetParams(
   CMFCToolTipInfo* pParams 
);

Parameters

Remarks

Whenever the tooltip is displayed, it is drawn by using the colors and visual styles that pParams specifies. The value of pParams is stored in the protected member m_Params, which can be accessed by a derived class that overrides CMFCToolTipCtrl::OnDrawBorder, CMFCToolTipCtrl::OnDrawIcon, CMFCToolTipCtrl::OnDrawLabel, CMFCToolTipCtrl::OnDrawSeparator, or CMFCToolTipCtrl::OnFillBackground to maintain the specified appearance.

Requirements

Header: afxToolTipCtrl.h

See Also

Reference

CMFCToolTipCtrl Class

Hierarchy Chart