Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / RestoreApp() whilst windows screen saver is on.

Author
Message
Battoad
AGK Developer
17
Years of Service
User Offline
Joined: 12th Feb 2007
Location: A Dark Place
Posted: 19th Jun 2016 20:57
Hi, one of my apps uses "MinimizeApp()" to minimize the window, but I have noticed that if my Windows screensaver is activated prior to "RestoreApp()" being called, although the window does restore, it remains concealed by the screensaver which does not get interrupted.
I expected and hoped that "RestoreApp()" would interrupt the screensaver. Any thoughts or ideas bearing in mind I would like it to be suitable for both mouse and touch screen Windows applications if possible.

Thank you
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 19th Jun 2016 23:03
i think at windows you will get a GetPaused from screensaver and later a GetResumed if the windows get the focus back.
about MinimizeApp, the docu say: On desktop platforms like Windows the app will continue to run when minimized.
a screensaver should only re activated by user input/mouse/keyboard, at windows also some planned tasks can do this optional if it is allowed.
AGK (Steam) V2.0.19 : Windows 10 Pro 64 Bit : AMD (16.3.2) Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)

Login to post a reply

Server time is: 2024-11-17 08:54:52
Your offset time is: 2024-11-17 08:54:52