milligan wrote: > > I am using the Palm OS Developers Suite on the Palm OS Garnet > Simulator and have opened a form in response to the > sysAppLaunchCmdDisplayAlarm: launch code. Everything seems to work > fine except when I press the silkscreen button to retun to the app > launcher the screen goes blank. Oddly enough when this same form is > opened via sysAppLaunchCmdNormalLaunch: it will return to the app > launcher with no problem when the silkscreen button is pressed. This > is the section of the PilotMain function that opens the form: > > case sysAppLaunchCmdDisplayAlarm: OpenDatabase(); > FrmGotoForm(QuestionsIntro); AppEventLoop(); AppStop(); break; > > I don't think there is anything out of the ordinary in the Event > Loop or Event handlers, though if you need to see all of the code, > let me know. Any help would be very much appreciated. Thanks.
1. What does AppEventLoop look like? 2. What's AppStop doing? 3. Is QuestionsIntro a modal form? If so, why not use FrmDoDialog? 4. Can you have sysAppLaunchCmdDisplayAlarm start your application with sysAppLaunchCmdNormalLaunch with SysUIAppSwitch? - James -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
