I did a bunch of searches and could not find an answer on this, though I am very surprised this has not been covered before:
Is there a cross-platform way of detecting when an app is minimized? I would like to pause the game, including all sound, when the player minimizes it (for example, Alt-Tab from full-screen mode). I just need to figure out how to detect when the application is minimized.
Of course, the solution needs to be cross platform (and not handled through MaxGUI) for it to be of any use to me. Any suggestions?
|