文件名称:VirtualListControl_src
- 所属分类:
- ListView/ListBox
- 资源属性:
- 上传时间:
- 2018-06-26
- 文件大小:
- 13kb
- 下载次数:
- 0次
- 提 供 者:
- LV_***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
虚拟列表控件使用起来非常简单。它总共只有三个相关的消息,如果你直接使用CListCtrl,应该在对话框中响应这三个消息。如果你使用CListCtrl派生类,可以在派生类中响应这三个消息的反射消息。这三个消息分别是:
(1)LVN_GETDISPINFO 控件请求某个数据
(2)LVN_ODFINDITEM 查找某个数据
(3)LVN_ODCACHEHINT 缓冲某一部分数据(You may have noticed that the standard CListCtrl gets slow once you need to display lots of items. The time for both the fill and sort start to upset your users who have nothing but a flickering scroll bar to entertain them. Furthermore, if you've already got this data in an array, copying it into a list control is very wasteful. Microsoft's documentation says this can all be solved by virtual lists, but these are quite intimidating and most of the sample code is using classic 'Petzold' SDK style. This article gives some help on how to implement a virtual list control in an MFC project, and provides a demonstration application.)
(1)LVN_GETDISPINFO 控件请求某个数据
(2)LVN_ODFINDITEM 查找某个数据
(3)LVN_ODCACHEHINT 缓冲某一部分数据(You may have noticed that the standard CListCtrl gets slow once you need to display lots of items. The time for both the fill and sort start to upset your users who have nothing but a flickering scroll bar to entertain them. Furthermore, if you've already got this data in an array, copying it into a list control is very wasteful. Microsoft's documentation says this can all be solved by virtual lists, but these are quite intimidating and most of the sample code is using classic 'Petzold' SDK style. This article gives some help on how to implement a virtual list control in an MFC project, and provides a demonstration application.)
相关搜索: 虚拟列表技术
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
TEMP\test_list_control\test_list_control.dsp | 4668 | 2001-02-13 |
TEMP\test_list_control\DlgTest.h | 1939 | 2001-02-13 |
TEMP\test_list_control\LabelItem.cpp | 802 | 2001-02-08 |
TEMP\test_list_control\LabelItem.h | 668 | 2001-02-13 |
TEMP\test_list_control\resource.h | 1002 | 2001-02-13 |
TEMP\test_list_control\StdAfx.cpp | 219 | 2001-01-12 |
TEMP\test_list_control\StdAfx.h | 1020 | 2001-02-07 |
TEMP\test_list_control\test_list_control.cpp | 1935 | 2001-01-12 |
TEMP\test_list_control\DlgTest.cpp | 12300 | 2001-02-13 |
TEMP\test_list_control\test_list_control.dsw | 557 | 2001-01-12 |
TEMP\test_list_control\test_list_control.h | 1420 | 2001-01-12 |
TEMP\test_list_control\test_list_control.rc | 5898 | 2001-02-13 |
TEMP\test_list_control\res\bp_disab.ico | 1078 | 2001-02-13 |
TEMP\test_list_control\res\bp_enabl.ico | 1078 | 2001-02-13 |
TEMP\test_list_control\res\bp_none.ico | 1078 | 2001-02-13 |
TEMP\test_list_control\res\test_list_control.ico | 1078 | 2001-01-12 |
TEMP\test_list_control\res\test_list_control.rc2 | 409 | 2001-01-12 |
TEMP\test_list_control\res | 0 | 2001-02-13 |