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 » Proposal: add WhenScroll to ArrayCtrl
Re: Proposal: add WhenScroll to ArrayCtrl [message #26203 is a reply to message #26124] Mon, 12 April 2010 16:47 Go to previous messageGo to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

OK. Have you seen my STermPro app? It has ArrayGrid with some custom drawing behaviour. I mean, if your record is very large ("tall") and it covers multimple "screens", it is convenient to have some "summary" information even if the main part of record is scrolled many screens up. So, each time user scrolls ArrayCtrl, I draw this summary info inside the visible region of record.
It is ok, but ArrayCtrl has internal drawing cache, which is very clever, of course. But I need to update some parts of this cache each time user scrolls ArrayCtrl, because what I draw inside these grids actually depends on scroll bar position. That is why I need WhenScroll event.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl::Reset does not reset.
Next Topic: Set GridCtrl read only when editing
Goto Forum:
  


Current Time: Tue Aug 26 05:53:30 CEST 2025

Total time taken to generate the page: 0.00956 seconds