PocketMatrix forums

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

password protection on power up, also occurs in GapiDraw

One of my customers was using password protection on their PPC, so every time they turned their PPC on the password protection screen would appear. This password protection can be found in Settings.

When running SpaceTime (a fullscreen program using the GAPI) if they powered off the device and then powered the device on, everything looks fine, but the password protection screen stays active and steals all the button and stylus input from my program. It will also appear for a couple frames if one of the number buttons, that are used to enter a password, are hit.

Out of curiosity, I also downloaded GapiDraw, compiled the minimal example and sure enough the same problem occurs.

Is this fixable?
Perhaps detect if it's the active window, and if it's not, minimize the app so you can see the password screen?
Caesar · 07 Dec 2003, 03:54 UTC — password protection on power up, also occurs in GapiDraw
Stunad wrote:
One of my customers was using password protection on their PPC, so every time they turned their PPC on the password protection screen would appear. This password protection can be found in Settings.

When running SpaceTime (a fullscreen program using the GAPI) if they powered off the device and then powered the device on, everything looks fine, but the password protection screen stays active and steals all the button and stylus input from my program. It will also appear for a couple frames if one of the number buttons, that are used to enter a password, are hit.

Out of curiosity, I also downloaded GapiDraw, compiled the minimal example and sure enough the same problem occurs.

Is this fixable?


This actually happens with many apps that steal focus. Its the worst when your playing Pocket Wolf3D or Elite.
Stunad: In GapiDraw, you can actually specify the application to minimize nicely if the focus is lost(such when the password key is shown or when an incoming phone call is received). You simply set the flag config.bMinimizeOnLostFocus to TRUE in WinMain().. Give it a try in the Minimal sample...

The problem is that in most cases (like when ActiveSync runs and automatically focuses itself) you want to regain focus immediately. And this doesn't work with the password box.

As far as I know you can't have both... :(

//Johan