Partager via


CMFCVisualManagerOffice2003::OnFillOutlookBarCaption

The framework calls this method when it fills the background of an Outlook caption bar.

virtual void OnFillOutlookBarCaption(
   CDC* pDC,
   CRect rectCaption,
   COLORREF& clrText
);

Parameters

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

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

  • [out] clrText
    A reference to a COLORREF object to which this method writes the color of text on the caption bar.

Remarks

The default implementation of this method fills the caption bar with the color for shadows based on the current skin.

Override this method in a derived visual manager to customize the color of the Outlook caption bar.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart