BUG:Treeview.Nodes.Clear method very slow with ComCtl32.DLL version 4.71.17123 
Author Message
 BUG:Treeview.Nodes.Clear method very slow with ComCtl32.DLL version 4.71.17123

We had problems with the Treeview.Nodes Clear method being very slow on
a new 300mHz PC running Win95b, and we were able to narrow it down to
the ComCtl32.DLL version 4.71.17123 (other machines running version 4.70
ran fine).  I'm not sure if the newer version is part of Win95b or some
other software package installed it.  Here are the results:

                4.70    4.70    4.71    4.71
                Clear   Loop    Clear   Loop
                -----   -----   -----   -----
0 nodes         0.625   0       0       0.625
1000 nodes      .4414   .4375   24.87   .4414

Notice that even with the earlier version it is faster to loop through
the node collection and remove them individually.


Sun, 16 Jul 2000 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Treeview: Nodes.Clear method slower than removing one-by-one

2. treeview.nodes.clear slow!?

3. Treeview nodes clear slow ..The Fix!

4. TreeView nodes clear method

5. TreeView nodes clear method - SOLUTION

6. Focus on the Tree.Nodes.Clear method in treeview control

7. Slow TreeView Clear Method

8. Slow TreeView Clear Method?

9. Forcing the installation of comcat.dll v4.71

10. Clearing Treeview Nodes

11. Performance treeview.nodes.clear

12. Treeview.Nodes.Clear


Powered by phpBB® Forum Software