Discussion:
Setting number of columns in CListCtrl control
(too old to reply)
Sadia
2005-06-22 13:48:48 UTC
Permalink
I have created a CListCtrl control.I want to set the number of column
in list.
How can I do this? Thanks in advance

--
Sadi
-----------------------------------------------------------------------
Sadia's Profile: http://www.msusenet.com/member.php?userid=252
View this thread: http://www.msusenet.com/t-187055623
David Lowndes
2005-06-22 16:01:27 UTC
Permalink
I have created a CListCtrl control.I want to set the number of columns
in list.
How can I do this?
Ensure the control is created with the LVS_REPORT style, and use
LVM_INSERTCOLUMN (aka CListCtrl::InsertColumn in MFC).

Dave
Tom Serface
2005-06-22 16:03:05 UTC
Permalink
Look at InsertColumn and DeleteColumn.

Tom
I have created a CListCtrl control.I want to set the number of columns
in list.
How can I do this? Thanks in advance.
--
Sadia
------------------------------------------------------------------------
Sadia's Profile: http://www.msusenet.com/member.php?userid=2524
View this thread: http://www.msusenet.com/t-1870556238
Loading...