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 » While loop, sleep
Re: While loop, sleep [message #60258 is a reply to message #60257] Thu, 26 October 2023 17:44 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1214
Registered: August 2007
Senior Contributor
Sleep(2200)


This is way too high for a gui to be responsive. 2200 ms -> 2.2 secs. And you have two of them in the loop. It should be at most Sleep(20).


Other than that, if you provide an example package, I can look into the problem.

Best regards,
Oblivion


 
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: Java Script
Next Topic: How do I write string_view to Cout() without copying to a String?
Goto Forum:
  


Current Time: Sun Jul 06 22:50:57 CEST 2025

Total time taken to generate the page: 0.02468 seconds