共用方式為


CMFCToolTipCtrl::OnDrawBorder

Draws the border of a tooltip.

virtual void OnDrawBorder(
   CDC* pDC,
   CRect rect,
   COLORREF clrLine 
);

Parameters

  • [in] pDC
    Pointer to a device context.

  • [in] rect
    The bounding rectangle of the tooltip.

  • [in] clrLine
    Border color.

Remarks

Override this method in a derived class to customize the appearance of the tooltip border.

Requirements

Header: afxToolTipCtrl.h

See Also

Reference

CMFCToolTipCtrl Class

Hierarchy Chart