R
Robin Tucker
Ouch. I've got a nasty problem here.
I need to load a tree structure into a treeview from a database. I've just
tested it with 10,000 items and its dog slow (one of the main reasons is
because I am manually "filtering" the items with my own filtering
structures). What I want to do is run a thread which constructs the
TreeView (and nodes) so that the rest of the GUI remains responsive. Then,
when the thread completes, I want to then marshal this TreeView structure
into the main process so that I can use it (at least make
mainprocess.TreeView.Nodes = threadprocess.TreeView.Nodes).
Any ideas?
I need to load a tree structure into a treeview from a database. I've just
tested it with 10,000 items and its dog slow (one of the main reasons is
because I am manually "filtering" the items with my own filtering
structures). What I want to do is run a thread which constructs the
TreeView (and nodes) so that the rest of the GUI remains responsive. Then,
when the thread completes, I want to then marshal this TreeView structure
into the main process so that I can use it (at least make
mainprocess.TreeView.Nodes = threadprocess.TreeView.Nodes).
Any ideas?