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"