Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Command for opening und closing 9500

1 replies · 1,895 views · Started 09 December 2004

As far as I know that's not possible. You can find whether the case is opened with
the following code:

SETFLAGS KSwitchOnMessage&

If the case is opened you will get a message with type &1416. For example, this will bring the application to the foreground when the case is opened (works on 9200, not sure about 9500):

GETEVENT32 Event&()

IF Event&(KEvAType%)=&1416
SySetForeGround:

HTH
Arjen