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.

The usual sequence, as seen by all the Palm OS sample code, is to check for 
appStopEvent after calling EvtGetEvent, and if you see it, go into some 
sort of stop code that calls FrmCloseAllForms, and then returns to the 
PilotMain which returns to the OS.

If all forms are closed, FrmDispatchEvent won't do anything, as there is no 
active form to get the event.


-- Ben Combee, DTS technical lead, 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/

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

Reply via email to