SAMPLE: VLB.exe Implements a Virtual List Box

ID: Q97371


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) 3.1


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. Click the file name below to download the file:

VLB.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

Additional query words:

Keywords : kbfile kbsample kb16bitonly kbCtrl kbListBox kbGrpUser kbWinOS310
Version : WINDOWS:3.1
Platform : WINDOWS
Issue type :


Last Reviewed: December 2, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.