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 » Newbie corner » TIme and Idle
Re: TIme and Idle [message #31407 is a reply to message #31401] Tue, 01 March 2011 10:42 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Wlad,

Wlad wrote on Tue, 01 March 2011 10:04

1. How can I find the time to within one millisecond precision?

If I remember correctly, there is GetTicks() function returning the number of miliseconds, which can be used to do this. Most of the time however, such precision is only useful for measuring purposes. If that is your case, have a look at TimeStop class, which provides easy way to measure time intervals with the precision you requested.
Wlad wrote on Tue, 01 March 2011 10:04

2. Is it an "OnIdle" event in U++?

AFAIK there is no such thing in U++ (but I might be wrong Smile ). It might be possible to "emulate" it using callbacks... Could you describe a bit what do you need it for? In most cases it can be just done in some other way Smile

Best regards,
Honza
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Background of static frames
Next Topic: Writing Float big-endian on Windows
Goto Forum:
  


Current Time: Sun Aug 24 14:29:43 CEST 2025

Total time taken to generate the page: 0.05107 seconds