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 » ArrayCtrl::Paint is called three times
Re: ArrayCtrl::Paint is called three times [message #51696 is a reply to message #51695] Fri, 26 April 2019 17:14 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Novo wrote on Fri, 26 April 2019 16:10
mirek wrote on Fri, 26 April 2019 04:54

More details?

XUbuntu 18.10 (XFCE desktop). GCC.
va[1] = 0
va[1] = 10
va[1] = 20
va[1] = 30
va[1] = 40
va[1] = 50
va[1] = 60
va[1] = 70
va[1] = 80
va[1] = 90
va[1] = 100
va[1] = 110
va[1] = 120
va[1] = 130
va[1] = 140
va[1] = 150
va[1] = 0
va[1] = 10
va[1] = 20
va[1] = 30
va[1] = 40
va[1] = 50
va[1] = 60
va[1] = 70
va[1] = 80
va[1] = 90
va[1] = 100
va[1] = 110
va[1] = 120
va[1] = 130
va[1] = 140
va[1] = 150
va[1] = 0
va[1] = 10
va[1] = 20
va[1] = 30
va[1] = 40
va[1] = 50
va[1] = 60
va[1] = 70
va[1] = 80
va[1] = 90
va[1] = 100
va[1] = 110
va[1] = 120
va[1] = 130
va[1] = 140
va[1] = 150

Theoretically, this can be desktop animation (or whatever it is called), but XFCE is a very simple desktop manager, and I couldn't find a place where animation is managed. Probably, XFCE doesn't have it.


I would start investigation with something more simple, like basic CtrlLib app and just to count the number of paints.

Maybe even paint that count...

My initial suspection is that this is a part of opening the window, when paint gets called more than absolutly necessary number of times....

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: No callback on last row deletion
Next Topic: [Bug]ArrayCtrl,MultiSelect.In WhenSel callback, selection status of last selected row is incorrect
Goto Forum:
  


Current Time: Thu Aug 28 11:44:10 CEST 2025

Total time taken to generate the page: 0.11401 seconds