we have a TTreeView
that has many nodes - typically 20,000 nodes and more. This TTreeView
is used in a docked interface (DevExpress Docking Library). When any form in the application is docked or undocked, the dockable form's handles are changed. This in turn results in the DestroyWnd
and CreateWnd
procedure of all forms and controls being called.
In the case of a TTreeView
, DestroyWnd
saves the nodes to a stream and CreateWnd
reloads them. In our application with a very large treeview this results in a long delay while the nodes are streamed out and and back in.
My question: how to prevent this delay? I have heard many people speak highly of Virtual TreeView which I believe is not descended from TTreeView
, does it avoid this issue? We have tried the Developer Express TcxTreeView
, but it descends from TTreeview so it suffers from the same problem.