Michal, > how can i force to return to mine application? The docs say that LaunchWithCommand macro encapsulates a call to SysUIAppSwitch which I don't think is what you want.
I think you want SysAppLaunch (UInt cardNo, LocalID dbID, UInt launchFlags, Word cmd, Ptr cmdPBP, DWord* resultP) Docs say... Purpose - Open an application from a specified database and card, with the appropriate launch flags. Generally used to launch an application as a subroutine of the caller. Launching an application with all launch bits cleared makes the application a subroutine call from the point of view of the caller. Regards John Sutton ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
