CMFCVisualManagerOffice2003::OnFillBarBackground

The framework calls this method when it fills the background of a CBasePane Class object.

virtual void OnFillBarBackground(
   CDC* pDC,
   CBasePane* pBar,
   CRect rectClient,
   CRect rectClip,
   BOOL bNCArea = FALSE
);

Parameters

  • [in] pDC
    A pointer to the device context for a control bar.

  • [in] pBar
    A pointer to a CBasePane Class object. The framework fills the background of this pane.

  • [in] rectClient
    A rectangle that specifies the boundaries of the pane.

  • [in] rectClip
    A rectangle that specifies the clipping area of the pane.

  • [in] bNCArea
    A reserved value.

Remarks

The default implementation of this method fills the background of the bar with the 3d background color from the global variable afxGlobalData.

Override this method in a derived visual manager to customize the background of a pane.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart