VListVW Sample
This topic describes the VListVW Sample code sample. It contains the following sections:
Description
The VListVW Sample shows how to implement a simple virtual list-view control in an application. A virtual list-view control is a standard list-view control with the LVS_OWNERDATA style. This example creates a list-view control that "virtually" holds 100,000 items. The items are never actually added. Instead, the virtual list-view control is "told" how many items it contains with the LVM_SETITEMCOUNT message. When an item needs to be drawn, the list-view control queries the parent window for display information with the LVN_GETDISPINFO notification.
Minimum Requirements
Product | Version |
---|---|
DLL | comctl32.dll version 4.70 |
Operating System | Windows 95, Microsoft Windows NT 3.51 |
Downloading the Sample
The VListVW Sample is available on github in the Windows Classic Samples repository. The list view control items examples can be found at here
Building the Sample
To build the sample using the command prompt:
- Open the Command Prompt window and navigate to the project directory.
- Enter
msbuild [project file]
.
To build the sample using Visual Studio:
- Open Windows Explorer and navigate to the project directory.
- Double-click the icon for the .vcproj file to open the project in Visual Studio.
- From the Build menu, select Build Solution to build the solution.
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for