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.
Called by the framework to draw the caption bar button.
virtual void OnDrawButton(
CDC* pDC,
CRect rect,
const CString& strButton,
BOOL bEnabled
);
Parameters
[in] pDC
A pointer to a device context that is used to display the button.[in] rect
The bounding rectangle of the button.[in] strButton
The button's text label.[in] bEnabled
TRUE if the button is enabled; FALSE otherwise.
Remarks
Override this method in a CMFCCaptionBar derived class to customize the appearance of the caption bar's button.
Requirements
Header: afxcaptionbar.h