Partager via


CMFCVisualManager::OnFillMiniFrameCaption

The framework calls this method when it fills the caption bar of a mini frame window.

virtual COLORREF OnFillMiniFrameCaption(
   CDC* pDC,
   CRect rectCaption,
   CPaneFrameWnd* pFrameWnd,
   BOOL bActive
);

Parameters

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

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

  • [in] pFrameWnd
    A pointer to a mini frame window. The framework draws the caption bar for this window.

  • [in] bActive
    A Boolean parameter that indicates if the window is active.

Return Value

The color that is used to fill the background of the caption bar.

Remarks

The default implementation for this method fills the caption bar with the current caption color for the active skin.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart