Hi,

If you like to Exit an Application, try to use the below code line and tell me 
the status.

"EventPtr eventP;
eventP->eType = appStopEvent;
EvtAddEventQueue(eventP);"

- Prabakar.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Regis St-Gelais
Sent: Friday, May 27, 2005 7:01 PM
To: Palm Developer Forum
Subject: Re: Quit Application


"sachin jesukaran" <[EMAIL PROTECTED]> a �crit dans le message de 
news: [EMAIL PROTECTED]
> hi everyone,
>
> i wanted to know how to quit an palm application.
> is any palm function available .
>


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);


-- 
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/

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

Reply via email to