J
jmarc
Doesn't seems to work!
Filling a CListBox with over 75,000 strings in it, took more than 5
minutes ! I tried using InitStorage( nbitems, length_item ) before filling
the
listbox, and it doesn't seem to change anything. Always very long before
having the list displayed. InitStorage is supposed to be used to allocate
CListBox memory before using AddStgring() and InsertString() functions...
Does anyone have succesfully used this InitStorage() function..???
(I'm not using Win 98.. with listbox limited to 32 thousands.. then)
Hoppefully, I had an alternate bussines strategy to offer to my client.
I simply displays 2,000 items along with a number indicating the right
items amount. But, it might be better to displays all of them in the
scrolling list.
I'll probably try to use AddString instead of InsertString,
when refreshing the whole list, and still keeping InsertString
and DeleteString when one item, or few of them, have to be
updated.
Or, anyone have any other ideas!
Thanks !
jmarc...
Filling a CListBox with over 75,000 strings in it, took more than 5
minutes ! I tried using InitStorage( nbitems, length_item ) before filling
the
listbox, and it doesn't seem to change anything. Always very long before
having the list displayed. InitStorage is supposed to be used to allocate
CListBox memory before using AddStgring() and InsertString() functions...
Does anyone have succesfully used this InitStorage() function..???
(I'm not using Win 98.. with listbox limited to 32 thousands.. then)
Hoppefully, I had an alternate bussines strategy to offer to my client.
I simply displays 2,000 items along with a number indicating the right
items amount. But, it might be better to displays all of them in the
scrolling list.
I'll probably try to use AddString instead of InsertString,
when refreshing the whole list, and still keeping InsertString
and DeleteString when one item, or few of them, have to be
updated.
Or, anyone have any other ideas!
Thanks !
jmarc...