Correct way to replace CHeaderCtrl with custom version in a CListCtrl
Posted
by John
on Stack Overflow
See other posts from Stack Overflow
or by John
Published on 2010-06-16T11:13:38Z
Indexed on
2010/06/16
20:02 UTC
Read the original article
Hit count: 341
CListCtrl has a CHeaderCtrl 'built-in' and we want to override it with something customized, i.e a class which derives from CHeaderCtrl.
What's the best/correct way to do this, assuming we have a dialog CMyDlg which contains a CListCtrl m_List, and a custom header CCustomHeader.
© Stack Overflow or respective owner