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 #60296 is a reply to message #60295] Tue, 14 November 2023 16:00 Go to previous messageGo to previous message
Tom1
Messages: 1305
Registered: March 2007
Ultimate Contributor
Hi Mirek,

I removed the TimeCallback timer entirely to test, but it does not have any effect to the MenuBar issue...

But yes, this was there:
class MyWindow : public WithMyWindowLayout<TopWindow> {
	StatusBar				status;
...
	TimeCallback			timer;
	String				remotely_updated_string;

	void refreshStatus(){	// timer runs this at 100 ms intervals
		if(!IsForeground()) return;
		status = remotely_updated_string;
	}

...
	MyWindow(){
...
		timer.Set(-100,[&](){ refreshStatus(); });
...
	}

	~MyWindow(){
...
		timer.Kill();
...
	}

   }

};



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: Sun Jul 06 14:40:58 CEST 2025

Total time taken to generate the page: 0.04681 seconds