Partager via


CMFCVisualManagerOffice2003::GetTabFrameColors

The framework calls this function when it has to retrieve the set of colors for drawing a tab window.

virtual void GetTabFrameColors(
   const CMFCBaseTabCtrl* pTabWnd,
   COLORREF& clrDark,
   COLORREF& clrBlack,
   COLORREF& clrHighlight,
   COLORREF& clrFace,
   COLORREF& clrDarkShadow,
   COLORREF& clrLight,
   CBrush*& pbrFace,
   CBrush*& pbrBlack
);

Parameters

  • [in] pTabWnd
    A pointer to the tabbed window where the frame is drawing a tab.

  • [out] clrDark
    A reference to a COLORREF parameter where this method stores the color for the dark border of a tab.

  • [out] clrBlack
    A reference to a COLORREF parameter where this method stores the color for the border of the tab window. The default color for the border is black.

  • [out] clrHighlight
    A reference to a COLORREF parameter where this method stores the color for the highlight state of the tab window.

  • [out] clrFace
    A reference to a COLORREF parameter where this method stores the color for face of the tab window.

  • [out] clrDarkShadow
    A reference to a COLORREF parameter where this method stores the color for the shadow of the tab window.

  • [out] clrLight
    A reference to a COLORREF parameter where this method stores the color for the light edge of the tab window.

  • [out] pbrFace
    A pointer to a reference for a brush. This method stores the brush that it uses to fill the face of the tab window in this parameter.

  • [out] pbrBlack
    A pointer to a reference for a brush. This method stores the brush it uses to fill the black edge of the tab window in this parameter.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart