> Can someone please tell me how to make a event that
> will shutdown my app!
Sigh.. if not the #1 asked question, it is definitely in the top 5.. Does
the touching one of the hard buttons not work for you? Or the applications
button? The calculator?
<Zen>There is really no need for an exit control from your application,
those buttons are used for changing to another and your application stops
when they are run</Zen>
However, there may be situations where you want to exit from an error, so
just put this function somewhere, cause you may want it again:
void KillApplication()
{
EventType newEvent;
MemSet(&newEvent, sizeof(EventType), 0);
newEvent.eType = appStopEvent;
EvtAddEventToQueue(&newEvent);
}
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/