Dela via


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

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCVisualManager Class

CMFCHeaderCtrl Class