为什么我用
CListCtrl* pmyListCtrl;pmyListCtrl= new CListCtrl;
在插入时候,我用InsertItem指定nIndex却不好使int n = pmyListCtrl->InsertItem(1, “2222”);
int n = pmyListCtrl->InsertItem(0, “0000”);
它显示却是2222,0000
而不是0000,2222
我的意图是在指定的位置上插入一条信息,我该怎么做?
CListCtrl* pmyListCtrl;pmyListCtrl= new CListCtrl;
在插入时候,我用InsertItem指定nIndex却不好使int n = pmyListCtrl->InsertItem(1, “2222”);
int n = pmyListCtrl->InsertItem(0, “0000”);
它显示却是2222,0000
而不是0000,2222
我的意图是在指定的位置上插入一条信息,我该怎么做?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货