Hi all,

I'm using the following code to switch to the network panel and display
the 'done' button:

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

This works fine but when I press the done button my application gets
relaunched (i.e. as if it has received a sysAppLaunchCmdNormalLaunch). I
know that this is because pressing the done button returns to the last
app that was running. But this causes all sorts of problems. I thought
I'd be able to get round the problem by handling the
sysAppLaunchCmdReturnFromPanel launch code but this doesn't seem to
work. Should it (and thus I've made a stupid error somewhere) or is
there a better way of doing this ?

cheers

Steve
-- 
Steve Janaway
Aepona (England) Ltd       Internet: http://www.aepona.co.uk

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

Reply via email to