SelectAll() can be slow due to virtual paradigm. SelectAll() iterates the tree, which initializes the nodes and so can lead to many calls to the OnInitChildren event handler. Surrounding the call to SelectAll()with BeginUpdate()/ EndUpdate() improves the situation.
Proposed solution: SelectAll() should call BeginUpdate()/ EndUpdate() automatically if an OnInitChildren event handler is assigned.
SelectAll()can be slow due to virtual paradigm.SelectAll()iterates the tree, which initializes the nodes and so can lead to many calls to theOnInitChildrenevent handler. Surrounding the call toSelectAll()withBeginUpdate()/EndUpdate()improves the situation.Proposed solution:
SelectAll()should callBeginUpdate()/EndUpdate()automatically if anOnInitChildrenevent handler is assigned.