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 » Virtual arrays and buttons.
Re: Virtual arrays and buttons. [message #44342 is a reply to message #44341] Tue, 24 February 2015 11:33 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
rxantos wrote on Tue, 24 February 2015 11:04
I have a virtual array of 100k+ or so items. But want to add some controls to the display of the visible items. Is there a way to do this without creating 100k+ buttons?

If no, then I will just use a menu item, but I wanted to check first.


No, you need those 100K buttons, unfortunately....

(But thinking about it, I got an interesting new idea how to perhaps solve this for future: What about adding a "column Ctrl" feature, which span the whole column, client code then could read line heights from ArrayCtrl and do what is needed.... in your case, this single Ctrl would represent 100K buttons).
 
Read Message icon5.gif
Read Message
Read Message
Previous Topic: GridCtrl: How to display a menu on header right click?
Next Topic: ArrayCtrl Display memory usage
Goto Forum:
  


Current Time: Sun Jun 22 15:55:50 CEST 2025

Total time taken to generate the page: 0.04342 seconds