共用方式為


CMFCVisualManagerOffice2003::OnFillHighlightedArea

The framework calls this method when it fills the highlighted area of a toolbar button.

virtual void OnFillHighlightedArea(
   CDC* pDC,
   CRect rect,
   CBrush* pBrush,
   CMFCToolBarButton* pButton
);

Parameters

  • [in] pDC
    Pointer to a device context.

  • [in] rect
    The bounding rectangle of the highlighted area to fill.

  • [in] pBrush
    The brush to use in filling the highlighted area.

  • [in] pButton
    Pointer to the CMFCToolBarButton Class object for which to fill the highlighted area.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart