SAMPLE: VLB.exe Implements a Virtual List Box (97371)



The information in this article applies to:

  • Microsoft Windows Software Development Kit (SDK) 3.1

This article was previously published under Q97371

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:
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 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.

Modification Type:MinorLast Reviewed:8/4/2004
Keywords:kb16bitonly kbCtrl kbfile kbListBox kbSample KB97371 kbAudDeveloper