out of focus

BlitzMax Forums/BlitzMax Beginners Area/out of focus

jkrankie(Posted 2007) [#1]
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


WendellM(Posted 2007) [#2]
This should help: http://blitzbasic.com/Community/posts.php?topic=63166


GfK(Posted 2007) [#3]
or...
If AppSuspended()
  If Not Paused
    Paused = True
  EndIf
EndIf



jkrankie(Posted 2007) [#4]
Thanks guys

Cheers
Charlie