out of focus

BlitzMax Forums/BlitzMax Beginners Area/out of focus

I need for my game to puse when it looses focus (i.e. another window/application is clicked on by the user). How can i do this?

Cheers
Charlie

This should help: http://blitzbasic.com/Community/posts.php?topic=63166

or...
If AppSuspended()
  If Not Paused
    Paused = True
  EndIf
EndIf


Thanks guys

Cheers
Charlie