That is the code that works for me for the standard CListCtrl:where m_header is of the type derived from CHeaderCtrl and CSubItemCheckListCtrl is derived from CListCtrlCode:void CSubItemCheckListCtrl::PreSubclassWindow() { m_header.SubclassDlgItem(0, this); CListCtrl::PreSubclassWindow(); }




Victor Nijegorodov
Reply With Quote