Partager via


CMFCVisualManagerOffice2003::OnFillHeaderCtrlBackground

The framework calls this method when it fills the background of a header control.

virtual void OnFillHeaderCtrlBackground(
   CMFCHeaderCtrl* pCtrl,
   CDC* pDC,
   CRect rect
);

Parameters

  • [in] pCtrl
    A pointer to a CMFCHeaderCtrl Class object. The framework fills the background for this header control.

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

  • [in] rect
    A rectangle that specifies the boundaries of the header control.

Remarks

Override this method in a derived visual manager to customize the appearance of a header control.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart