With other controls this can be done using the
WM_CTLCOLOR
notification. But as far as I know, this can't be used with
CHeaderCtrl
and
CListCtrl
.
Then you must use an owner drawn header control (see
CHeaderCtrl::DrawItem()
[
^]) and use sub-classing.