"News" <[EMAIL PROTECTED]> a écrit dans le message de news: 
[EMAIL PROTECTED]
>You need to post an appStop event to the event queue and let your
>application exit normally.


If you whant to go by the book, the doc says to enqueue the Launcher virtual
key

EventType eventToAdd;

MemSet(&eventToAdd, sizeof(EventType ), 0);
eventToAdd.eType = keyDownEvent;
eventToAdd.data.keyDown.chr = launchChr;
eventToAdd.data.keyDown.modifiers = commandKeyMask;
EvtAddEventToQueue (&eventToAdd);


On Palm OS, we do not quit an application, we launch a new one (the dafault 
launcher in that case).
Simply quitting your application can lead to unexpected result under some 
circonstances.
This was discussed many time in this forum.

-- 
Regis St-Gelais
www.laubrass.com



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

Reply via email to