创建CListView? GetListCtrl().InsertColumn( i, ColumnName[i], LVCFMT_LEFT, width[i], i); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 GetListCtrl().InsertColumn( i, ColumnName[i], LVCFMT_LEFT, width[i], i);这有错吗? GetListCtrl().InsertColumn( i, ColumnName[i], LVCFMT_LEFT, width[i], i); 修改了之后还是不成功 你可以肯定InsertColumn被执行过吗 那你可以使用CListCtrl m_lstData;m_lstData.InsertColumn( i, ColumnName[i], LVCFMT_LEFT, width[i], i); CListCtrl& m_lstData;m_lstData.InsertColumn( i, ColumnName[i], LVCFMT_LEFT, width[i], i);与我的GetListCtrl().InsertColumn( i, ColumnName[i], LVCFMT_LEFT, width[i], i);不是一样吗哦,不过我现在知道了其风格style cs.style |= LVS_REPORT即可谢谢你 CFormView怎样接收自定义消息? 界面绘制 移动后 桌面有残影 TIPTOOL在LISTCTRL中划过有项目与无项目行的问题 急!!!如何在Pocket PC2003模拟器中注册ActiveX控件 VC6.0中怎么创建调用创建文件对话框 定时检测USB连接状态 有那些书对发MFC自定义控件讲的好点的 [关于IDispatch问题]:如何将*.tlb文件编译进*.dll中?(高分求救) VC和mysql的问题,急~~~求VC高手 关于菜单的菜鸟问题 如何从.ini文件得到键名?? 链表归档问题,比较简单,来者有分!!
LVCFMT_LEFT, width[i], i);
这有错吗?
LVCFMT_LEFT, width[i], i);
修改了之后还是不成功
CListCtrl m_lstData;
m_lstData.InsertColumn( i, ColumnName[i],
LVCFMT_LEFT, width[i], i);
m_lstData.InsertColumn( i, ColumnName[i],
LVCFMT_LEFT, width[i], i);
与我的
GetListCtrl().InsertColumn( i, ColumnName[i],
LVCFMT_LEFT, width[i], i);
不是一样吗哦,不过我现在知道了
其风格style cs.style |= LVS_REPORT即可
谢谢你