Delen via


CMFCVisualManagerOffice2003::OnEraseTabsArea

The framework calls this method when it erases the tab area of a tab window.

virtual void OnEraseTabsArea(
   CDC* pDC,
   CRect rect,
   const CMFCBaseTabCtrl* pTabWnd
);

Parameters

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

  • [in] rect
    A rectangle that specifies the boundaries of the tab area.

  • [in] pTabWnd
    A pointer to a tab window. The framework erases the tab area for the specified tab window.

Remarks

This function is called by the framework when a CMFCBaseTabCtrl Class object processes a WM_PAINT message and erases the tab area.

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