PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

What happen after power on?

Dear all,

I am writing a game by using GAPI. When I switch off and on the device during execution of the game, it shows the screen just before execution of my game.

I don't know what's wrong and I can't debug it with neither pc emulator or the actual device because it will close the connection if I switch off the device or emulator.

I wonder if someone can give me any help because I am completely lost.

Thanks in advance.
The game window loses focus. Make sure you call SHFullscreen whenever this occurs to prevent it from happening.
angedelamort · 12 Feb 2003, 21:59 UTC
Make sure you call SHFullscreen whenever this occurs to prevent it from happening


yeah, but there no event for that. One way I found to get an "event" for this, is checking in my game loop if it were stopped more than 1 second.

I hope it help.

[edited by me]
Here a link I remebered on this forum:
http://forums.pocketmatrix.com/viewtopic.php?t=5901&highlight=power
:)

Thanks a lot. It does help.

I just curious if I did some wrong or it is a characteristic of Pocket PC.