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 » TopWindow&PopUp, TrayIcon » How often is Update called? Is there a similiar frequently called method?
Re: How often is Update called? Is there a similiar frequently called method? [message #50191 is a reply to message #50181] Mon, 20 August 2018 09:59 Go to previous message
mirek is currently offline  mirek
Messages: 14255
Registered: November 2005
Ultimate Member
Using timer might solve your issue, if what you need to do is to e.g. periodically check something.

Alternative is to "invert" message loop, or basically make your code the message loop: Instead of .Run (or .Execute) start your code and into some place that is passed through frequently enought (like each 1ms), put

if(Ctrl::IsWaitingEvent())
   Ctrl::ProcessEvents();


This will read and process all GUI events.

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: BUG? EditInt / PromptOK not functioning as thought?
Next Topic: Dialog windows showing semi randomly on the task bar on Linux
Goto Forum:
  


Current Time: Fri Apr 25 23:16:04 CEST 2025

Total time taken to generate the page: 0.00422 seconds