U++ framework
Do not panic. Ask here before giving up.

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 #26964 is a reply to message #26948] Tue, 15 June 2010 15:00 Go to previous messageGo to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
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. now if shortly after this a *second* Ctrl is Updated/Refreshed, it will cause the same procedure..or is it accumulated and in some time later, the WM_PAINT would outline a rect to repaint, that contains *both* dirty Ctrl's..

i think this is a very basic question. without knowing this behaviour i cant say to wich direction to optimize the gui handling. maybe this should even go into documentation: for performance reasons..

maybe there should be a static flag which is normally on and enables refresh by default, turning it off can then give the possibility to update a bunch of ctsl at once and then reenable normal operation and call a deep refresh.. i thinnk this would be faster..

what do you think?
 
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: Fri Jun 12 00:25:14 GMT+2 2026

Total time taken to generate the page: 0.00784 seconds