"Joe Malone" <[EMAIL PROTECTED]> wrote in message
news:88565@palm-dev-forum...
> When you hit the Home button, it sends an appStopEvent which is picked
> up by the event loop inside of FrmDoDialog().  When FrmDoDialog() sees
> this event, it reposts it to the event queue (so your app can exit its
> event loop) and then breaks out of its loop and closes the dialog.
<snip>
> If you don't want users to switch to other apps, then your app has to
> intercept the hard keys and soft keys in your event loop and not pass
> them on to SysHandleEvent().  How to do this is posted several times in
> the archives and is also in the KB.

Nah. I just want to prevent them from getting any deeper into my application
without a password. I *like* that they can escape to other applications. So
everything's perfect now (at least in this little section).

I didn't realize that FrmDoDialog reposted the event -- now I not only have
the behavior I want, but I can explain why it works. That's quite a relief
as I now know I'm not relying on a bug in the OS. Thanks for the
explanation.



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

Reply via email to