CMFCVisualManagerOffice2003::OnDrawCaptionBarBorder

The framework calls this method when it draws the border of a CMFCCaptionBar Class object.

virtual void OnDrawCaptionBarBorder(
   CDC* pDC,
   CMFCCaptionBar* pBar,
   CRect rect,
   COLORREF clrBarBorder,
   BOOL bFlatBorder
);

Parameters

  • [in] pDC
    A pointer to a device context.

  • [in] pBar
    A pointer to a CMFCCaptionBar Class object. The framework draws this caption bar.

  • [in] rect
    A rectangle that specifies the boundaries of the caption bar.

  • [in] clrBarBorder
    The color of the border.

  • [in] bFlatBorder
    TRUE if the border should have a flat, 2D appearance, or FALSE if not.

Remarks

Override this method in a derived class to customize the appearance of the border of a caption bar.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart