CMFCVisualManagerOffice2003::OnDrawTab

The framework calls this method when it draws the tabs for a CMFCBaseTabCtrl Class object.

virtual void OnDrawTab(
   CDC* pDC,
   CRect rectTab,
   int iTab,
   BOOL bIsActive,
   const CMFCBaseTabCtrl* pTabWnd
);

Parameters

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

  • [in] rectTab
    A rectangle that specifies the boundaries of the tab control.

  • [in] iTab
    The index of the tab that the framework draws.

  • [in] bIsActive
    A Boolean parameter that specifies whether the tab is active.

  • [in] pTabWnd
    A pointer to a CMFCBaseTabCtrl Class object. The framework draws this tab control.

Remarks

A CMFCBaseTabCtrl object calls this method when it processes the WM_PAINT message.Override this method in a derived class to customize the look of tabs.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart