Danny,
Thanks for the information.
Right now my program, McPhling, traps
sysTrapSysAppLaunch. Ultimately I'm looking to having
it open up the last open address so I'm looking into
trapping sysTrapSysUIAppSwitch instead. Any idea on
how to do this?
Thanks,
Mike
--- Danny Epstein <[EMAIL PROTECTED]> wrote:
> > Does anyone know the difference between
> > sysTrapSysAppLaunch and sysTrapSysUIAppSwitch?
>
> As Richard said, these are traps corresponding to OS
> functions:
> - SysAppLaunch is used to sublaunch an application
> - SysUIAppSwitch is used to exit the current app and
> start up another one
>
> SysAppLaunch is like a regular subroutine call.
> SysUIAppSwitch enqueues an
> appStopEvent and stores the info about which app to
> switch to in a global.
> When the current app responds to the appStopEvent by
> returning, the OS will
> launch the app you specified. (This could actually
> be the same app, but this
> isn't typical.) The code that's responsible for all
> this is the UIAppShell
> application. I'm pretty sure the source for this app
> is available so you can
> see how it works.
> --
> Danny @ Palm
>
> --
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/