EventType       event;

        MemSet(&event, sizeof(EventType), 0);

        event.eType = keyDownEvent;
        event.data.keyDown.chr = vchrPowerOff;
        event.data.keyDown.keyCode = 0;
        event.data.keyDown.modifiers = commandKeyMask;

        EvtAddEventToQueue(&event);

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Michael
Twohey
Sent: Friday, June 29, 2001 5:54 PM
To: Palm Developer Forum
Subject: RE: Exiting my application


Well I tried to set my event.eType = appStopEvent but it had no effect.
Anouther function may be modifying the event before the appStopEvent value
gets through. I was wondering if there was a function I could call such as
SysUIAppSwitch that would stop my application and go to the OS.

-----Original Message-----
From: Peter Epstein [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 29, 2001 2:51 PM
To: Palm Developer Forum
Subject: RE: Exiting my application


You could post an appStopEvent.
-
Peter Epstein

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

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


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

Reply via email to