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 text.
virtual void OnDrawText(
CDC* pDC,
CRect rect,
const CString& strText
);
Parameters
[in] pDC
A pointer to a device context that is used to display the button.[in] rect
The bounding rectangle of the text.[in] strText
The text string to display.
Remarks
The default implementation displays the text by using CDC::DrawText and CMFCCaptionBar::m_clrBarText color.
Override this method in a CMFCCaptionBar derived class to customize the appearance of the caption bar's text.
Requirements
Header: afxcaptionbar.h