How to set the font of CListCtrl header
http://www.codeproject.com/cpp/cppfaq10dec04-23jan05.asp
//CFont Varible CFont m_fArial; //Create Arial Font m_fArial.CreateFont(14,0,0,0,FW_BOLD,FALSE,FALSE,FALSE, DEFAULT_CHARSET,OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,DEFAULT_PITCH,"Arial"); //Get Pointer of ListCtrl CListCtrl *m_pList = (CListCtrl*)GetDlgItem(IDC_LIST1); //Set Font if (m_pList) m_pList->GetHeaderCtrl()->SetFont(&m_fArial);
The key here is to get a pointer to CListCtrl
's embedded Header control.