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 » U++ Widgets - General questions or Mixed problems » howto best Ctrl Refresh handling w/ MT & very frequent refreshes
Re: howto best Ctrl Refresh handling w/ MT & very frequent refreshes [message #26971 is a reply to message #26964] Wed, 16 June 2010 07:26 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
kohait00 wrote on Tue, 15 June 2010 09:00

hey folks

the problem is still there and i cant handle it properly because the basic question is not solved yet:

?? how to Update/Refresh a LOT of different small Ctrl's in as little time as possible ???.

as far as i understand there is (for Win32 at least) the ::InvalidateRect functions called in a Refresh(), invoking a WM_PAINT message somewhere.



InvalidateRect does not invoke WM_PAINT directly.

In either case, in Win32 or X11 (where it has to be implemented by u++), Paint is always as lazy as possible - it only happens when input queue is empty (unless you request immediate repaint using Sync).

Quote:

what do you think?


I think we have spent years optimizing Refresh/Paint. You can only make it worse:)

Simply do not worry. U++ will do the best possible.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GtkWidget inside U++
Next Topic: DONE: ColumnList with Ctrl's
Goto Forum:
  


Current Time: Wed May 08 04:37:58 CEST 2024

Total time taken to generate the page: 0.03604 seconds