unodgs Messages: 1367 Registered: November 2005 Location: Poland
Ultimate Contributor
I agree that TreeCtrl should support "virtual leafs". This and all kinds of grids are the most often used widgets to display large amount of data. That remainds me to add virtual mode to GridCtrl . Anyway this work mode can be problematic. For example - it's hard to implement "virtual rows" with resizeable heights. I tested many grids and everywhere row has fixed height . It's also hard to estimate scrollbar height. It must be updated durign fetching rows from database (as we don't know in most cases how many rows are there to fetch). I sometimes think it's better to used paging or better search criteria than virtual mode.