This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Detect lock/sleep button iphone


Detect lock/sleep button iphone

Postby EarthWind » Aug 7, 2009 @ 12:13am

How do I detect when the user has pressed the lock/sleep button at the top of the iPhone?

I've tried:
OnMinimize
OnButtonDown
OnButtonUp
OnNativeEvent

But nothing is called when I press that button. I'd like to know so I can pause/resume the game.
EarthWind
pm Member
 
Posts: 17
Joined: Jul 5, 2009 @ 2:10pm


Postby EarthWind » Aug 10, 2009 @ 7:00pm

Ok, so it looks like 3.97 now calls

OnMinimize / OnRestore when pressing the lock/standby button on the top of the iPhone!

Thanks!
EarthWind
pm Member
 
Posts: 17
Joined: Jul 5, 2009 @ 2:10pm


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron