Re: freeze/thaw API for treeviews?



Paul Davis ha scritto:
the old CTree/CList had a nice freeze/thaw API to avoid the widget
recomputing stuff while adding rows. is there something comparable for
TreeView, or does the Right Thing Just Happen ?
It doesn't happen. You have to save the current model, set the associated model to NULL, modify the saved model and rebind it to all the views.

At least that's the only way I could find.

BYtE,
 Diego.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]