Hi All,
I am trying to create an Panel application which replaces the default
NETWORK panel application in the Panels List.  But when I use the
SysUIAppSwitch command, with creator ID "netw", and application type PANL in
the target settings,
my devices hangs.  The appln name comes in the PANEL list and initial screen
is displayed.  But when selected a button to invoke the NETWORK panel, the
device is hanging.

The is the code where I launch the Network panel:

static void LaunchPrefsApp()
{
 UInt16 cardNo;
 LocalID  ID;
 UInt32 resultP = 0;
 DmSearchStateType theSearchState;


 DmGetNextDatabaseByTypeCreator(true, &theSearchState, sysFileTPanel,
sysFileCNetworkPanel,true, &cardNo, &ID);
 SysUIAppSwitch(cardNo, ID,sysAppLaunchCmdPanelCalledFromApp, 0);
}

Any help please.  Thanks and Regards

Yuva Kumar R


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to