June 12th, 2006, 10:55 AM
CTreeCtrl SOOO SLOW !
I have an application which has a CTreeCtrl on a dialog. I need to add a large number of Items to it. It is possible that upwards of 18000 items may be added at one time. I have tested this, and even in release, this opperation can take 50 minuits or so !!!!
This is a bit of a show stopper for me.
My question is, why does it take so long and what can I do to speed such an opperation up (A LOT!).
I suspect that something is searching in the TreeCtrl (for the parent Item perhaps), as the time taken to a add an Item gets progressivly slower as Items are added.
Id realy appriciate the help of any Gurus out there who may have any idea how I can proceed!
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!