Normally, if you use SysUIAppSwitch to go to a preferences panel
passing the launch code sysAppLaunchCmdPanelCalledFromApp, the panel
appears with a Done button on it. If the user hits that button, your
application is relaunched with a launch code of
sysAppLaunchCmdReturnFromPanel. I'm using this to let the user
transfer control temporaarily to the network panel (creator ID
sysFileCNetworkPanel), and it works great.
However, if I try and do the same thing for the Wireless panel
(creator ID sysFileCWirelessPanel ), the Done button doesn't appear,
and the prefs category popup doesn't work. Has anyone run into this
by any chance? Any suggestions/ideas?
I've found this on a real 4.0 device and the 4.0 ROMS with POSE. Code appended.
Regards,
Steve Mann
# # #
error = DmGetNextDatabaseByTypeCreator (
true, &searchState, sysFileTPanel, sysFileCWirelessPanel,
true, &appCardNo, &appDBID );
ErrFatalDisplayIf ( error, "Err finding prefs panel" );
if ( ! error )
error = SysUIAppSwitch (
appCardNo, appDBID, sysAppLaunchCmdPanelCalledFromApp, NULL );
--
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461 805.784.9462 (fax)
[EMAIL PROTECTED] http://www.cdpubs.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/