且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在MFC中隐藏ListControl的列标题

更新时间:2023-02-11 22:16:35

You can hide the header of a list control.
But it is not possible to hide the header of a single column.That is what i understand from your qstn.also it doesnt make any sense.
to hide the list control header u can code as below.

CHeaderCtrl* pHdr = m_ListCtrl.GetHeaderCtrl();
pHdr->ShowWindow(SW_HIDE);