Not in Win95/98. From the API help:

"Windows 95: The wParam parameter is limited to 16-bit values. This means
list boxes cannot contain more than 32,767 items. Although the number of
items is restricted, the total size in bytes of the items in a listbox is
limited only by available memory."

Why would you want more than 32K items in a listbox? Surely not for a user
to select from.

- Andrew Cooke.

> -----Original Message-----
> From: gajo [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, July 26, 1999 10:08 AM
> To:   Multiple recipients of list delphi
> Subject:      [DUG]:  Get passed the 32768th line
> 
> I'm using Delphi 3. Is it possible to insert more than 32768 lines in a
> TListBox and how?
> 
> Gajo ([EMAIL PROTECTED])
> 
> --------------------------------------------------------------------------
> -
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to