> 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 --?
I don't think you need the global flag, just have the form handler call a
function when the "Exit" menu is selected... e.g.
void onExit()
{
EventType qevent;
qevent.eType = appStopEvent;
EvtAddEventToQueue(&qevent);
}
Herry
http://www.compubank.com/cbe_appl.htm?AFFINITY=10007424
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/