if you want is changing color of main column list of CListCtrl...
i tried this, and i could not this, but, finally, i did....write for memory
1.make sub class of CHeaderCtrl. it is a derived class of CHeaderCtrl.
2.massage fuction about NM_CUSTOMDRAW is needed..
3.if above is ok, the function like "void ~~~::OnNMCustomDraw(NMHDR* pNMHDR, LRESULT* pResult)" are made.
void COwnHeader::OnCustomDraw(NMHDR* pNMHDR, LRESULT* pResult)
//for this notification, the structure is actually a
// NMLVCUSTOMDRAW that tells you what's going on with the custom
// draw action. So, we'll need to cast the generic pNMHDR pointer.
LPNMCUSTOMDRAW lplvcd = (LPNMCUSTOMDRAW)pNMHDR;
*pResult = CDRF_NOTIFYITEMDRAW;
CDC *pDC_ = CDC::FromHandle(lplvcd->hdc);
default:// it wasn't a notification that was interesting to us.
*pResult = CDRF_DODEFAULT;