This function has this prototype
Err SysUIAppSwitch (UInt16 cardNo, LocalID dbID, UInt16 cmd, MemPtr cmdPBP) 
I want my application to do something else depinde on the reason that I'm 
calling it.
Let's say that 1-rst I want to do: FrmGoTo (MainFrom); -> make a loop here and 
exit when the user taps the exit button.
and at another point in my code I want it to make: FrmGoTo(SecondForm); -> show 
something here and then exit. 
 Theese calls are made in some alarmtriggers.

I want to use SysUIAppSwitch (cardNo, dbID, sysAppLaunchCmdNormalLaunch, NULL);
and instead of NULL in the last param I want to put a variable so in 
PilotMain I want to make a switch case from the cmdPBP variable;

Is this a good idea? 

Can someone tell me what form the cmdPBP for SysUIAppSwitch should have?

I wanted to do something more clever like making my own cmd call - but the docs 
are very easy in information...

Thanx for the help.

Regards, Iulia

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

Reply via email to