Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » UI virtualization
UI virtualization [message #29981] Thu, 02 December 2010 01:54 Go to next message
guiprod is currently offline  guiprod
Messages: 3
Registered: December 2010
Junior Member
Hello does gridctrl support some type of UI virtualization (or for that matter does u++ support this in general). That is -- is there some way of making sure the GUI does not do any calculations for cells that are not being displayed on the screen at any given time.

Thanks!
Re: UI virtualization [message #30052 is a reply to message #29981] Sun, 05 December 2010 09:17 Go to previous message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

guiprod wrote on Wed, 01 December 2010 19:54

Hello does gridctrl support some type of UI virtualization (or for that matter does u++ support this in general). That is -- is there some way of making sure the GUI does not do any calculations for cells that are not being displayed on the screen at any given time.

Thanks!


It depends. There is no method like SetVirtualRows[Columns]Count. However if you provide your own display class for column, row or cell and do some calculations there it's guaranteed your code will be called only for visible cells and each time the cell is refreshed (but still only if it's visible on the screen).

PS. Sorry for not responding earlier, I just missed your post.

[Updated on: Sun, 05 December 2010 09:47]

Report message to a moderator

Previous Topic: Some petitions for GridCtrl
Next Topic: Keeping EditString content in gridctrl
Goto Forum:
  


Current Time: Thu Mar 28 21:36:39 CET 2024

Total time taken to generate the page: 0.01288 seconds