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 » Community » U++ community news and announcements » 2023.2
Re: 2023.2 [message #60310 is a reply to message #60309] Wed, 15 November 2023 13:07 Go to previous message
Tom1
Messages: 1304
Registered: March 2007
Ultimate Contributor
Hi Mirek,

I found a solution:
	virtual void Paint(Draw& draw){

		...

		// scaleview->Refresh();
	}

I have a 'scaleview' control under the window. The window's Paint() calls scaleview->Refresh(); After this the timer is frozen until the window is closed. Removing this call to Refresh() makes everything work again.

The funny thing (if any in this case) is that this code is about 10-15 years old and has worked without any problem until now. (The scaleview gets painted anyway automatically, so this call was probably just causing some recursive feeding of more paint requests. So, I'm glad its gone now. Strange thing is that it was not visible on CPU loading...)

Anyway, Mirek, thanks for your help on this issue.

Best regards,

Tom
 
Read Message
Read Message
Read Message icon14.gif
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: Ide: branch now displayed in editor bar
Next Topic: TheIDE and U++ have been released on Flathub
Goto Forum:
  


Current Time: Fri Jul 04 16:42:56 CEST 2025

Total time taken to generate the page: 0.03845 seconds