When I populate my TreeView control whith a lot of data (> 5000), it takes a very long time.
Any idea ?
Lag
Printable View
When I populate my TreeView control whith a lot of data (> 5000), it takes a very long time.
Any idea ?
Lag
Have you used the SetRedraw method of CWnd ?
When you insert items to tree every item will be drawed at the screen. Use SetRedraw(FALSE) before inserting and after you inserted the last item use SetRedraw().
Yes I use the SetRedraw method of CWnd.
Lag
Are your data heavily recirsive?
Sally