Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
The framework calls this method when it fills the background of a toolbar button.
virtual void OnFillButtonInterior(
CDC* pDC,
CMFCToolBarButton* pButton,
CRect rect,
CMFCVisualManager::AFX_BUTTON_STATE state
);
Parameters
[in] pDC
A pointer to the device context of a toolbar button.[in] pButton
A pointer to the button for which the framework is filling the background.[in] rect
A rectangle that specifies the boundaries of the toolbar button.[in] state
The state of the toolbar button (the possible states of a toolbar button are ButtonsIsRegular, ButtonsIsPressed, or ButtonsIsHighlighted).
Remarks
The default implementation of this method uses the default color to fill the background. Override this method in a derived visual manager to customize the background of a toolbar button.
Requirements
Header: afxvisualmanageroffice2003.h