原因:窗口还未创建,就对listcontrol进行了操作 解决方案:在初始化函数中 添加CDialogEx::OnInitDialog(); 转载于:https://www.cnblogs.com/abella/p/9851414.html