|
-
May 21st, 1999, 07:42 AM
#1
TreeView fastest populate
When I populate my TreeView control whith a lot of data (> 5000), it takes a very long time.
Any idea ?
Lag
-
May 21st, 1999, 08:41 AM
#2
Re: TreeView fastest populate
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().
-
May 21st, 1999, 10:17 AM
#3
Re: TreeView fastest populate
Yes I use the SetRedraw method of CWnd.
Lag
-
May 22nd, 1999, 07:29 AM
#4
Re: TreeView fastest populate
Are your data heavily recirsive?
Sally
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
|