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++ Callbacks and Timers » callbacks freeze gui
Re: callbacks freeze gui [message #48163 is a reply to message #48155] Mon, 29 May 2017 20:23 Go to previous message
Zbych is currently offline  Zbych
Messages: 325
Registered: July 2009
Senior Member
aftershock wrote on Sun, 28 May 2017 22:35
Hi,
To avoid freezing... I made the called to execute the time consuming operations in a separate thread..
Is this how it is supposed to work?
Timer freezes the gui each time it calls its callback?


Yes, that is normal. You have to run time consuming tasks in separate thread or if task contains some loop you can call ProcessEvents() in the loop.


 
Read Message
Read Message
Previous Topic: PostCallback in constructor
Next Topic: THISBACK1 works well, how can i make it with lambda
Goto Forum:
  


Current Time: Sun Apr 28 20:18:25 CEST 2024

Total time taken to generate the page: 0.03245 seconds