At 11:21 PM 3/7/2004, you wrote:
In my app event loop, I capture the vchrCalc. It works. User can not launch
Calc under my app with Calcultor silk-screnn icon.

But when I display an alert ( FrmCustomAlert ) when vchrCalc detected and I
click on the Calcultor silk-screnn icon again, Calc app will run.

Does it mean that the Alert will bypass the app event loop ?

Yes. Alerts run their own modal event loop. If you want to prevent another application from being launched, catch the appStopEvent in your main application loop and absorb it, rather than using it to end your program. This is a pretty impolite thing to do in most situations, so don't do this lightly.



-- Ben Combee, senior DTS engineer, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/



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

Reply via email to