Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我喜欢这样
list.InsertItem(LVIF_TEXT,0,left,0,0,0,NULL); list.InsertItem(LVIF_TEXT,1,right,0,0,0,NULL);
它在“left”下插入字符串“right”。
CListCtrl::SetItemText()是你的朋友
int nItem = list.InsertItem(0, _T("1st column")); list.SetItemText(nItem, 1, _T("2nd column"));