CMFCVisualManager::OnEraseTabsButton
The framework calls this method when it erases the text and icon of a tab button.
virtual void OnEraseTabsButton(
CDC* pDC,
CRect rect,
CMFCButton* pButton,
CMFCBaseTabCtrl* pWndTab
);
Parameters
[in] pDC
A pointer to a device context.[in] rect
A rectangle that specifies the boundaries of the tab button.[in] pButton
A pointer to a tab button. The framework erases the text and icon for this button.[in] pWndTab
A pointer to the tab control that contains the tab button.
Remarks
The framework erases the text and icon for a button when a CMFCBaseTabCtrl object processes the WM_ERASEBKGND message.
Override this method in a derived visual manager to customize the appearance of tab buttons.
Requirements
Header: afxvisualmanager.h