Just use a listctrl in my view, and when I insert item like this, the data won't be able to display multiple rows of data correctly
there are several item block has no text displayed in the listctrl at all.Code:this->m_ListCtrl.InsertItem(i,name,0);
s.Format("%s",name);
this->m_ListCtrl.SetItemText(i,0,s);
but if you change format line into
by adding an extra space in front of the %s, it will work. Wondering why...Code:s.Format(" %s",name);