共用方式為


CMFCVisualManagerOffice2003::OnFillTab

The framework calls this method when it fills the background of a tab window.

virtual void OnFillTab(
   CDC* pDC,
   CRect rectFill,
   CBrush* pbrFill,
   int iTab,
   BOOL bIsActive,
   const CMFCBaseTabCtrl* pTabWnd
);

Parameters

  • [in] pDC
    A pointer to a device context.

  • [in] rectFill
    A rectangle that specifies the boundaries for the tab window.

  • [in] pbrFill
    A pointer to the brush that the framework is using to fill the tab window.

  • [in] iTab
    The zero-based tab index of a tab for which the framework fills the background.

  • [in] bIsActive
    TRUE if the tab is active or FALSE if not.

  • [in] pTabWnd
    A pointer to the parent tab control.

Remarks

Override this method in a derived visual manager to customize the appearance of tabs.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart