Path: utzoo!utgpu!watserv1!watmath!att!att!bu.edu!rpi!zaphod.mps.ohio-state.edu!samsung!rex!rouge!cacs.usl.edu From: pcb@cacs.usl.edu (Peter C. Bahrs) Newsgroups: comp.windows.ms.programmer Subject: Listbox - Maximum content Message-ID: <17902@rouge.usl.edu> Date: 4 Nov 90 18:21:35 GMT Sender: anon@rouge.usl.edu Organization: The Center for Advanced Computer Studies, USL Lines: 33 I need to display a lot of data that the user can scroll through. This is a geology type application. Each line may contain up to 8 float numbers and there may be 20000 lines of data. 1.34343 2.3333 10003.333 233.33 ... ... I have written a home grown application window with a bunch of child windows to mimick the standard listbox (in win386). When I got win3.0, I decided to try to get the listbox to do things, but only 5000 or so lines get added to the box. Where and how is this limit set? It would be nice for a listbox if you could say, "here, use this file for your contents". I want the user to be able to select a line. I will then perform a graphics operation on another window using that "point". My own application just draws a certain subset of information to the screen (adapted from petzolds win 386 book). When a user selects with the mouse, a point is returned. I guess I will have to find things like font height, and number of current rows and turn the point into an integer that represents the line of data the user selects. Yeck! List box does this! ANy ideas? /*----------- Thanks in advance... --------------------------------------+ | Peter C. Bahrs | | The USL-NASA Project | | Center For Advanced Computer Studies INET: pcb@swamp.cacs.usl.edu | | 2 Rex Street | | University of Southwestern Louisiana ...!uunet!dalsqnt!gator!pcb | | Lafayette, LA 70504 | +-----------------------------------------------------------------------*/