Insert into the second column of CListCtrl
문제
When I do like this
list.InsertItem(LVIF_TEXT,0,left,0,0,0,NULL);
list.InsertItem(LVIF_TEXT,1,right,0,0,0,NULL);
It inserts string "right" under "left".
해결책
CListCtrl::SetItemText() is your friend
int nItem = list.InsertItem(0, _T("1st column"));
list.SetItemText(nItem, 1, _T("2nd column"));
제휴하지 않습니다 StackOverflow