You can "cancel" any event by indicating that you have handled it. The
system handles alerts and popups in separate loops outside your program.
You must either provide your own handler for these situations, or you can
intercept appStopEvents to prevent the user from exiting.
Regards,
Steve
-----Original Message-----
From: Jason Garrett [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2000 12:57 AM
To: Palm Developer Forum
Subject: How can I stop the user from exiting the app?
I am trying to prevent the use of the silk screen buttons at any time from
with in my app.
I've succeeded in blocking most of the different ways, but have one I can't
solve.
When a PopTrigger is used, the associated list appears. Pressing the silk
screen button now sends
a WinExitEvent. And so the app closes.
Can I cancel the WinExitEvent by indicating that I handled it? Any other
ways?
Jason Garrett
wirelessdata
Ph: +64 9 379 3710 Fax: +64 9 379 7360
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/