1. ?CGridCtrl 没有这个功能,它不能横向的分页
2. virtual mode 如果我没有理解错的话应该和 msdn 中的Virtual List Controls是一个意思,是指grid列表中只填充显示的那些数据,而那写不显示的数据保存在一个数组中,in msdn (Virtual List Controls)A virtual list control is a list view control that has the LVS_OWNERDATA style. This style enables the control to support an item count up to a DWORD (the default item count only extends to an int). However, the biggest advantage provided by this style is the ability to only have a subset of data items in memory at any one time. This allows the virtual list view control to lend itself for use with large databases of information, where specific methods of accessing data are already in place.
.....
2. virtual mode 如果我没有理解错的话应该和 msdn 中的Virtual List Controls是一个意思,是指grid列表中只填充显示的那些数据,而那写不显示的数据保存在一个数组中,in msdn (Virtual List Controls)A virtual list control is a list view control that has the LVS_OWNERDATA style. This style enables the control to support an item count up to a DWORD (the default item count only extends to an int). However, the biggest advantage provided by this style is the ability to only have a subset of data items in memory at any one time. This allows the virtual list view control to lend itself for use with large databases of information, where specific methods of accessing data are already in place.
.....
解决方案 »
- UDP组播实现群聊的端口问题!
- MFC窗口中设置一个实体从一个位置移动到另一个位置的动画
- 请教CSOCKET制作的服务器,支持多少个客户端同时连接?
- RichEdit 中插入 GIF 、插入自定义控件等,全部自有源码实现,样例下载!!
- 为什么我的dll工程编译通过之后没有生成lib文件,只有dll文件?
- 请教各路高手:vc里面怎么控制rs232,急,急,急,急,急!!!谢谢!!
- 开始菜单里的“快捷方式”,到底在磁盘的什么地方?
- SubmitThreadpoolWork和QueueUserWorkItem的区别
- 高手请帮帮忙!
- 如何在程序中生成数据库源?
- 急急急啊!!!请多多提意见,忠告,经验
- 关于数据类型的转换
int nCol = GetFocusCell().col;
int nCnt = GetRowCount();
CString content = "新行";
if (nRow >= 0)
{
if( nRow == nCnt-1 )
{
if(updown == 0)//在nRow后insert
InsertRow(content, -1);
else//在nRow前insert
InsertRow(content ,nRow);
}
else
{
if( updown == 0)//在选定行后插入新行
++nRow;
InsertRow(content, nRow);
}
Invalidate();
}
nRow为新行,由nRow不是可以移动CGridCtrl中行的位置