CListCtrl的问题?
我的视图为CFormView,在用户区窗口,我放了一个CListTtrl的控件用于输出
然后我在我的view的控件start函数中,添加了这么几句:
m_list.InsertColumn(0,"列一",LVCFMT_LEFT,300,0);//设置列
m_list.InsertColumn(1,"列二",LVCFMT_LEFT,300,1);
m_list.InsertItem(0,"欢迎使用。。。。系统");
m_list.SetItemText(0,1,"系统启动");
为什么程序一运行,我一点击start按钮,就有错误,程序就中止了
显示:
debug assertion failure
file:afxcmn。inl
line:186
哪位帮忙看看啊??
谢了先!!