Click to See Complete Forum and Search --> : insert items in CListCtrl (Report) an sorting


-=SKULK=-
May 20th, 1999, 02:43 PM
I have a problem with CListCtrl (Report) an inserting items (sorting). When I insert the items only th last one has subitems!
heres the code

for (int iLC = 0; iLC < nItem; iLC++)
{
m_pLC->InsertItem(iLC, CString...);
m_pLC->SetItemText(iLC,1 , CString...);
m_pLC->SetItemText(iLC, 2,CString...);
m_pLC->SetItemText(iLC, 3, CString...);
}




whats wrong ???

--
-=SKULK=-