Condividi tramite


CMFCVisualManager::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 parameter. The method writes the color of text on the caption bar to this parameter.

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: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart