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 » Setting a timer to call Ctrl::Refresh in Ctrl::Paint()
Setting a timer to call Ctrl::Refresh in Ctrl::Paint() [message #53768] Tue, 28 April 2020 17:59 Go to next message
Oblivion is currently offline  Oblivion
Messages: 759
Registered: August 2007
Contributor
Hi,

Is setting a timer (to call Ctrl::Refresh) in Ctrl::Paint method or its overrides allowed?

Apparently it works, but I need to be sure.

Thanks in advance.

Best regards,
Oblivion


[Updated on: Tue, 28 April 2020 18:00]

Report message to a moderator

Re: Setting a timer to call Ctrl::Refresh in Ctrl::Paint() [message #53807 is a reply to message #53768] Sun, 03 May 2020 15:14 Go to previous message
mirek is currently offline  mirek
Messages: 12845
Registered: November 2005
Ultimate Member
Oblivion wrote on Tue, 28 April 2020 17:59
Hi,

Is setting a timer (to call Ctrl::Refresh) in Ctrl::Paint method or its overrides allowed?

Apparently it works, but I need to be sure.

Thanks in advance.

Best regards,
Oblivion


Yes. Actually, setting time (even with zero timeout, "Post") is the only thing allowed always.

Mirek
Previous Topic: How to set a TimeCallback
Next Topic:
Goto Forum:
  


Current Time: Fri Oct 30 09:44:46 CET 2020

Total time taken to generate the page: 0.02468 seconds