Re: Application-specific Prefs panel; how?

2006-03-08 Thread Luc Le Blanc
Ben Combee wrote: On 3/6/06, Luc Le Blanc [EMAIL PROTECTED] wrote: Thanks for the info. But is this documented in full details somewhere (resource layout, globals access, passing pref panel change, etc.) ? There was sample code for a pref panel back in the Palm OS 3.5 SDK. It got

Re: Application-specific Prefs panel; how?

2006-03-08 Thread Ben Combee
On 3/8/06, Luc Le Blanc [EMAIL PROTECTED] wrote: But can I call this panel from within my app too? I try to sublaunch it with SysAppLaunch and a sysAppLaunchCmdPanelCalledFromApp launch code but POSE reports a fatal error telling me I cannot use globals, which my panel does (like PalmOS'

Re: Application-specific Prefs panel; how?

2006-03-08 Thread Luc Le Blanc
Ben Combee wrote: On 3/8/06, Luc Le Blanc [EMAIL PROTECTED] wrote: But can I call this panel from within my app too? I try to sublaunch it with SysAppLaunch and a sAppLaunchCmdPanelCalledFromApp launch code but POSE reports a fatal error telling me I cannot use globals, which my

Re: Application-specific Prefs panel; how?

2006-03-08 Thread Ben Combee
One last question: my panel DB is called Auriga_panl; is it normal the OS created another 84-byte DB named Auriga_panl_AURI_panl ? That sounds like the standard a68K database that PACE creates to shadow your database with ARM-native converted resources while the panel is running. It's

Re: Application-specific Prefs panel; how?

2006-03-08 Thread Luc Le Blanc
Ben Combee wrote: On 3/8/06, Luc Le Blanc [EMAIL PROTECTED] wrote: But can I call this panel from within my app too? I try to sublaunch it with SysAppLaunch and a sysAppLaunchCmdPanelCalledFromApp launch code but POSE reports a fatal error telling me I cannot use globals, which my panel does

Re: Application-specific Prefs panel; how?

2006-03-08 Thread Ben Combee
On 3/8/06, Luc Le Blanc [EMAIL PROTECTED] wrote: Panels are only called by SysUIAppSwitch. You'll have to save your state, switch to the app, and handle the switch back when the panel exits. Interesting: I was under the impression the built-in Prefs app was actually sublaunching panels,