Hi there,

> Our program has set programmatically the Power-off
> feature on the Auto-Lock Handled in the Security Lock
> Form.

> Whenever user enter our application at a
> particular form, say formB (where formA is the main
> screen) then power-off the palm. The palm will ask
> he/she to enter the password. 

> The moment palm
> returning to our application after password key-in
> correctly, it will go back to the formA instead of the
> formB which is the latest screen before power-off?

I am confused. When you say "The palm will ask he/she to entere the password", do you 
mean that is
part of other application, not your application?
What I think is the log in screen is a part of your application, so, the user stays in 
your
application before and after the Palm is OFF, your application controls which form it 
will jump to
after the login process.

I do security on our program, too. I request the user log in when needed. So, the user 
can be on
any form. I do not power off the Palm. What I do is

UInt16 backFromSecurity = 0; // global variable

// before the program jump to the security form, I do
backFromSecurity = FrmGetActiveFormID();
FrmPopupForm(SecurityForm);

// log in, verification, etc...

// and later on,
FrmReturntoForm(backFromSecurity);
backFromSecurity = 0;

tnn

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to