Have you tried to post an appStopEvent to the event queue?
EventType newEvent;
MemSet(&newEvent, sizeof(EventType), 0);
newEvent.eType = appStopEvent;
EvtAddEventToQueue(&newEvent);
Hope it helps.
/Bulent Gecer
Patrick Ouellet <[EMAIL PROTECTED]> skrev i
diskussionsgruppsmeddelandet:[EMAIL PROTECTED]
>
> How can I make my app close if I detect an error.
>
> Like I would like my apps to stop and exit
> if I can't open the serial port.
>
> Or I could only fake a Application Buton click.
> (the one with the shape of a house)
>
>
> And can someone tell when Bitmap family appeared.
> ( I mean with which OS 2, 3, 3.1 ??? )
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Patrick Ouellet - Programmeur S�nior
> [EMAIL PROTECTED]
> Recherche & Devloppement
> Les Entreprise Microtec inc.
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/