🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #17

**Huge data listbox

#17
From: Kyle Marsh
Date: Tue, 27 Oct 1992 19:03
14 lines
1147 bytes
An ownerdraw list box without the LBS_HASSTRINGS style can store 8160 
items. The reason for this odd number is described in detail in:
\vendors\microsoft\developer-network\win\13.zip on ftp.uu.net. Download 
index.zip for a complete list of the articles available.

You can use the owner draw technique for a list box up to 8160 items. 
The owner draw part can be very simple since all you need to do is 
TextOut the string you have stored. If you need more items then that 
you will need to implement a virtual list box. I am finishing up an 
article on how to do this. As soon as it is ready it will go up on 
ftp.uu.net as well.

Kyle
MS Developer Network
Technical Details
Message-ID: <=s4pb8l@microsoft.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!microsoft!aliasgate!kylemar

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!microsoft!aliasgate!kylemar
From: Kyle Marsh <kylemar@microsoft.com>
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: **Huge data listbox                                                            
Sender: kylemar@microsoft.com
Message-ID: <=s4pb8l@microsoft.com>
Date: 27 Oct 92 19:03:51 GMT
Lines:    14
X-MSMail-Message-ID:  F3915FAD
X-MSMail-Conversation-ID:  F3915FAD
X-MSMail-WiseRemark:  Microsoft Mail -- 3.0.729
To: netnews