Click to See Complete Forum and Search --> : Lots of data


bar_dov
April 25th, 1999, 09:45 AM
Opening a dialog that displays scrollable data (from a database) should be
fast
regardless of the amount of data in the DB.

Looking for pointers to techniques of
1. opening the dialog first, retrieving and displaying the data later
2. retrieving only the top data, retrieving more as needed while user
scrolls

Thanks

gvirdi
April 25th, 1999, 11:56 AM
If you are using a List Box to display the data, simply create the listbox and add data using AddString or InsertString. You can obtain the users current selection using GetCurSel() and read in a few data items after that.

Good luck!