First of all, what does "hangs" mean?  You need to be more specific.

Second, you did not check the returns from DmGetNextDatabaseByTypeCreator. Make
sure that because you may pass wrong params to it.

Assume the way you trying to invoke the panel is right, there isn't much
possibility to the problem.

Max


--- Yuva Kumar <[EMAIL PROTECTED]> wrote:
> 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/


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

-- 
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