Got it, thanks all

-----Original Message-----
From: Aaron Ardiri [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 04, 2004 10:24 AM
To: Palm Developer Forum
Subject: Re: close current app?

> Well I call FrmCloseAllForms(), from within my current forms event
handler,
> and it seems to exit all the forms, until I see a blank white screen.
> Codewarrior reports that the program is still running...
> 
> Any advise?
> 
> -----------
> The application ends by returning from its event loop, which usually 
> happens when an appStopEvent is seen by the main application event
handler.

^^^ read this. add the appStopEvent event to the system event queue.
and, if you have written your event loop right, it'll exit naturally.
you should call FrmCloseAllForms() in your EndApplication() routine - 
to ensure the forms are propertly unloaded (otherwise memory leak)

---
Aaron Ardiri
PalmOS Certified Developer
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php




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

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

Reply via email to