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 / MaximiseApp or RestoreApp after using MinimizeApp

Author
Message
Battoad
AGK Developer
17
Years of Service
User Offline
Joined: 12th Feb 2007
Location: A Dark Place
Posted: 10th Feb 2016 13:05
I am creating an app in Windows for desktop use that uses the MinimizeApp() command after a specific period of time. This works well but I would now also like to "Restore", or at very least Maximize the app bringing it back to the foreground still running.

I cannot find a command to do this, is it missing or do I need to do it a different way?

AGK2 Tier1.
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 10th Feb 2016 15:45
as workaround maybe use SetWindowPosition offscreen and back if this is possible.
AGK (Steam) V2.0.16 : Windows 10 Pro 64 Bit : AMD (15.30.1025) Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)
Battoad
AGK Developer
17
Years of Service
User Offline
Joined: 12th Feb 2007
Location: A Dark Place
Posted: 11th Feb 2016 12:27
Thanks Marcus.
Its generally a need for a "work-around" unless and until a command is released. I am trying to replace MinimizeApp() and the not available MaximizeApp() with SetWindowSize and Position to try to achieve a similar effect although it will still be within the desktop window.
Additional comments in v2 Feature Requests sticky.
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 12th Feb 2016 18:12
I've added RestoreWindow to the next version. This will only work on Windows, Mac, and Linux.

Login to post a reply

Server time is: 2024-05-01 12:11:05
Your offset time is: 2024-05-01 12:11:05