Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


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

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

[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.

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

Header: afxvisualmanager.h

© 2016 Microsoft