case MainButDoneButton:
        MemSet(&Event, sizeof(EventType), 0);   //zeros the record, ie fillmem
        Event.eType = appStopEvent;
        Event.data.frmLoad.formID = eventP->data.frmLoad.formID;
        EvtAddEventToQueue(&Event);
        handled = true;
        break;

Steve Stover
SRC

-----Original Message-----
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Lee, Eric
Sent:   Wednesday, December 06, 2000 8:56 AM
To:     Palm Developer Forum
Subject:        Implementing Exit button

Just for the experiment, I am trying to terminate my app by selecting Exit
menu item.  I know that this is not necessary to do, but anybody here ever
implement the exit menu item?  I am gussing that I need a global flag to
indicate that user wants to exit and send some sort of an event --
appStopEvent --?

sincerely

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