my situation
appA calls SysUIAppSwitch to appB, when appB is done cals SysUIAppSwitch to
appA. When user presses Quit button I issue appStopEvent.
after the AppEventLoop call in the PalmMain I execute
newEvent.eType = keyDownEvent;
newEvent.data.keyDown.chr = launchChr;
newEvent.data.keyDown.modifiers = commandKeyMask;
EvtAddEventToQueue (&newEvent);
AppEventLoop(); // to process the newly added event
the problem is that after the appStopEvent is posted the execution never
gets out of the first AppEventLoop(), it rather miraculously tries to go to
the Application Launcher, and since that is overwritten by appA from the
appB return using SysUIAppSwitch the appA cannot be quit with a Quit
button.
This seems to make absolutely no sense to me.
Any coments anyone?
please cc them to [EMAIL PROTECTED]
thanx :)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/