VC list control插入数据

2024-12-23 08:57:16
推荐回答(1个)
回答1:

m_list.InsertColumn(0,"name",LVCFMT_LEFT,180);
m_list.InsertColumn(1,"age",LVCFMT_LEFT,42);
m_list.InsertItem(0,"mike");
m_list.SetItemText(0,1,"21");