show one column extra in CListControl
-
Hi All I have a CListControl and i have use SetExtendedStyle.I have InsertColumn four Column but it's showing five column.Last column is blank.How can i remove last blank column.i use like this.
m_list.SetExtendedStyle(m_list.GetStyle()|LVS_EX_TRACKSELECT);
m_list.InsertColumn(0, _T("Name"),LVCFMT_LEFT, 175);
m_list.InsertColumn(1, _T("Age"),LVCFMT_LEFT, 150);
m_list.InsertColumn(2, _T("Sex"),LVCFMT_LEFT, 150);
m_list.InsertColumn(3, _T("Class"),LVCFMT_LEFT, 150);Plz help me
-
Hi All I have a CListControl and i have use SetExtendedStyle.I have InsertColumn four Column but it's showing five column.Last column is blank.How can i remove last blank column.i use like this.
m_list.SetExtendedStyle(m_list.GetStyle()|LVS_EX_TRACKSELECT);
m_list.InsertColumn(0, _T("Name"),LVCFMT_LEFT, 175);
m_list.InsertColumn(1, _T("Age"),LVCFMT_LEFT, 150);
m_list.InsertColumn(2, _T("Sex"),LVCFMT_LEFT, 150);
m_list.InsertColumn(3, _T("Class"),LVCFMT_LEFT, 150);Plz help me
-
Hi All I have a CListControl and i have use SetExtendedStyle.I have InsertColumn four Column but it's showing five column.Last column is blank.How can i remove last blank column.i use like this.
m_list.SetExtendedStyle(m_list.GetStyle()|LVS_EX_TRACKSELECT);
m_list.InsertColumn(0, _T("Name"),LVCFMT_LEFT, 175);
m_list.InsertColumn(1, _T("Age"),LVCFMT_LEFT, 150);
m_list.InsertColumn(2, _T("Sex"),LVCFMT_LEFT, 150);
m_list.InsertColumn(3, _T("Class"),LVCFMT_LEFT, 150);Plz help me
Does it always show one more than is being added?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
-
Does it always show one more than is being added?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons