Share via


CMFCVisualManagerOffice2003::OnDrawPaneCaption

The framework calls this method when it draws a caption for a CDockablePane Class object.

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 Class 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.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart