I have an explorer type app that when I need to update the tree, it takes
about 30 seconds. This is a bit annoying. Is there any way to speed up the
treeview ?

Re: Treeview loading slow. by Herfried

Herfried
Wed Oct 03 12:36:28 PDT 2007

"Mufasa" <jb@nowhere.com> schrieb:
>I have an explorer type app that when I need to update the tree, it takes
>about 30 seconds. This is a bit annoying. Is there any way to speed up the
>treeview ?

Only add dummy items to collapsed nodes containing more than one sub item
when initializing and add the nodes upon expansion of the nodes.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>


Re: Treeview loading slow. by G

G
Fri Oct 05 02:27:27 PDT 2007

Make sure you call BeginUpdate before adding large number of nodes and
EndUpdate afterwards.

---------
- G Himangi, Sky Software http://www.ssware.com
Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
Browsing Functionality For Your App (.Net & ActiveX Editions).
EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
EZShellExtensions.Net : Develop all shell extensions,explorer bars and BHOs
rapidly in .Net
---------



"Mufasa" <jb@nowhere.com> wrote in message
news:eTTnOTcBIHA.484@TK2MSFTNGP06.phx.gbl...
>I have an explorer type app that when I need to update the tree, it takes
>about 30 seconds. This is a bit annoying. Is there any way to speed up the
>treeview ?
>



Re: Treeview loading slow. by Grant

Grant
Sun Oct 07 19:07:54 PDT 2007

On Oct 3, 11:59 pm, "Mufasa" <j...@nowhere.com> wrote:
> I have an explorer type app that when I need to update the tree, it takes
> about 30 seconds. This is a bit annoying. Is there any way to speed up the
> treeview ?

You might want to take a look at Infralution's Virtual Tree. It is
optimized for handling very large data sources and (unlike the
standard treeview) only creates user interface items for the rows that
are currently displayed. This gives it a much smaller memory
footprint and almost instantaneous load times. You can get more
information and download an evaluation version from:

www.infralution.com/virtualtree.html