Creating header - CListCtrl
-
I'm trying to insert headers to a CListCtrl.
m_cList.InsertColumn(0, "Heading 1",LVCFMT_LEFT, 100);
m_cList.InsertColumn(1, "Heading 2",LVCFMT_LEFT, 120);Doesn't work. What do I miss here?
-
I'm trying to insert headers to a CListCtrl.
m_cList.InsertColumn(0, "Heading 1",LVCFMT_LEFT, 100);
m_cList.InsertColumn(1, "Heading 2",LVCFMT_LEFT, 120);Doesn't work. What do I miss here?
Did you specify the "Report" style for the control?
-
Did you specify the "Report" style for the control?
I do not see any property like that in the property window. How do I set it?
-
I do not see any property like that in the property window. How do I set it?
It's the 'View' property - set the 'View' property to 'Report'.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
Did you specify the "Report" style for the control?
Okay got it thanks. It's in "view" property. :)
-
It's the 'View' property - set the 'View' property to 'Report'.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
Just found it right on time, thus saving myself from saying yet another thanks to you.
-
It's the 'View' property - set the 'View' property to 'Report'.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
:doh: He is no different. Just looked at his profile.