Click here to Skip to main content
15,892,746 members
Articles / Desktop Programming / MFC

Using virtual lists

Rate me:
Please Sign up or sign in to vote.
4.87/5 (67 votes)
4 Aug 2004Ms-RL9 min read 467.3K   8K   177  
This article explains how to work with virtual lists, a very fast list that is useful to show a large number of items.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by VirtualList.rc
//
#define IDD_VIRTUALLIST_DIALOG          102
#define IDR_MAINFRAME                   128
#define IDB_BITMAP                      129
#define IDB_BITMAP_LARGE                130
#define IDB_BITMAP_STATE                131
#define IDB_BITMAP_S                    132
#define IDC_LIST                        1000
#define IDC_BUTTON_ADDTEN               1001
#define IDC_BUTTON_CLEAR                1002
#define IDC_STATIC_COUNT                1003
#define IDC_COMBO_STYLE                 1004

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        133
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1005
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under Microsoft Reciprocal License


Written By
PEK
Sweden Sweden
PEK is one of the millions of programmers that sometimes program so hard that he forgets how to sleep (this is especially true when he has more important things to do). He thinks that there are not enough donuts in the world. He likes when his programs works as they should do, but dislikes when his programs is more clever than he is.

Comments and Discussions