|
-
October 2nd, 2005, 08:12 AM
#1
CTreeView with 10^6 entries
Hi,
Unusal? maybe! ...but I need to add about a 10^6 (one million!) nodes to a CTreeView (the CTreeCtrl, of course).
I have about 12000 root items, each with 8-10 child items. I've set .ShowWindow(SW_HIDE) and .SetRedraw(FALSE) - each apart and both together for good measure, but it is still taking a VERY long time (about 60 minute). It seems that there is a steady slowing-down of the process as it advances.
the question is: is there a way to stream line the process further? or is the tree-ctrl just not build for these things?
Is there a different approach I can take?
Is there another control I can use?
Any ideas?
thanks,
Sperlis
"Let's code fast now, so we'll have time to debug later"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|