There is no errors in the code you supply.
Maybe other problems
Maybe other problems
解决方案 »
- 在Visual C++2005中怎样将CString类型的变量转换成short int类型
- vb中定义一个变量 GENERIC_READ = &H80000000 这句在VC中该如何写?是什么类型?
- 怎样在工具栏按钮上添加位图阿?
- 编译器提示" “ConvertSidToStringSid”: 即使使用参数相关的查找,也未找到标识符" 会是什么问题?
- 怎样在VC6.0中将文本文件中的数据赋给一个字符串变量
- 如何从内存中读取可执行文件的代码?
- 求救!!!硬盘分区表坏了,重要数据无法读取。。急。!!!
- 刚看完异型1。比较爽,散分庆祝一下!!!顺便问大家一个问题,你们装了那个月的msdn,机器上共装了几套msdn。
- 请教各位大哥几个问题
- ado连接access数据库如何用代码在其中的一张表中加入一个字段。
- OpenFileMapping为何总是失败?
- 紧急求助:关于对话框 无标题栏拖动问题
{
int nIndex = m_Recordlist.InsertItem(cnt,_T("1"));/* insert 「A」*/
m_Recordlist.SetItemText(nIndex,1,_T("2"));/* insert 「B」 */
m_Recordlist.SetItemText(nIndex,2,_T("3"));/* insert 「C」 */
m_Recordlist.SetItemText(nIndex,3,_T("4"));/* insert 「D」 */
}
最后发现是因为把CListCtrl属性中设置了sort的缘故 ,把sort设置为none就OK了