Article ID: 97371 - Last Review: August 4, 2004 - Revision: 2.2

SAMPLE: VLB.exe Implements a Virtual List Box

This article was previously published under Q97371
Expand all | Collapse all

SUMMARY

VLB.exe implements a single-selection, single-column virtual list box that is capable of displaying millions of items. The standard list box control in Microsoft Windows can contain a limited number of items. VLB.exe shows how to implement list boxes that exceed this limitation.

The standard list box control in Microsoft Windows can contain a limited number of items. Applications may need to implement list boxes that exceed this limitation. This article introduces a custom control called VLIST, which is a virtual list box capable of displaying millions of items. Part 1 of the article provides instructions for using the VLIST virtual list box, and documents the styles and messages that VLIST supports. Part 2 describes how VLIST was implemented, and discusses the problems encountered and decisions made during the implementation; readers who would like to modify VLIST or implement their own virtual list box may find this section interesting. For a working example of VLIST, see the Microsoft Developer Network CD---the topic listing in the Index window was implemented with VLIST.

MORE INFORMATION

The following file is available for download from the Microsoft Download Center:
VLB.exe (http://download.microsoft.com/download/platformsdk/sample87/3.1/w31/en-us/vlb.exe)
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591  (http://support.microsoft.com/kb/119591/EN-US/ ) How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

APPLIES TO
  • Microsoft Windows Software Development Kit 3.1
Keywords: 
kb16bitonly kbctrl kbfile kblistbox kbsample KB97371
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations