VirtualListControl_src

所属分类ListView/ListBox
开发工具:Visual C++
文件大小:13KB
下载次数:10
上传日期:2018-06-26 00:07:27
上 传 者LV_223
说明:  虚拟列表控件使用起来非常简单。它总共只有三个相关的消息,如果你直接使用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.)

文件列表:[举报垃圾]
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

近期下载者

相关文件

评论我要评论

收藏者