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 draws a caption for an instance of the CDockablePane Class.
virtual COLORREF OnDrawPaneCaption(
CDC* pDC,
CDockablePane* pBar,
BOOL bActive,
CRect rectCaption,
CRect rectButtons
);
Parameters
[in] pDC
A pointer to a device context.[in] pBar
A pointer to a CDockablePane object. The framework draws the caption for this pane.[in] bActive
A Boolean parameter that indicates whether the control bar is active.[in] rectCaption
A rectangle that specifies the boundaries of the caption.[in] rectButtons
A rectangle that specifies the boundaries of the caption buttons.
Return Value
A COLORREF parameter that indicates the text color of the caption.
Remarks
Override this method in a derived visual manager to customize the appearance of pane captions.
Requirements
Header: afxvisualmanager.h