From: "Tom McCormick" <[EMAIL PROTECTED]> Subject: RE: Exit > The way I do it is to post the event created by the silk-screened > application's key (it looks like a Home). Since it is possible for the user to redefine what the silk-screen buttons do, another way to exit your app is to use the fact that your event loop only runs until it sees an event of type appStopEvent. So post that event. When your app exits, the OS starts the launcher for you. Sample code: MemSet( event, sizeof(EventType), 0 ); event->eType = appStopEvent; EvtAddEventToQueue( event ); -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
