On Mon, Aug 02, 1999 at 05:43:57PM +0000, [EMAIL PROTECTED] wrote:
> My testing reveals that the documentation is wrong.
> But I which it wasn't. Is there something I missed ?
>
> >From Page 59-60 of the Palm OS Programmers Companion (Preliminary)
> --------------------------------------------------------------------
> If your application is called to process a launch code, it is called as a
> subroutine from the current user-interface application. Use the
> routine SysCurAppDatabase to get the card number and database
> ID of the currently running user-interface application. This routine
> doesn't return your application's database ID but the database ID of
> the application that initiated the launch code.
> --------------------------------------------------------------------
> Is this a documentation error ?
> When I call SysCurAppDatabase while in an sysAppLaunchCmdAlarmTriggered
> launch. I always get my own application's database ID NOT the
> ID of the currently running GUI application.
>
> This is VERY unfortunate because the GUI apps DB id is exactly what I
> need.
>
I now find myself in the same situation. Is there any way to find out
the currently running GUI app? I don't see any system function that
could be used for this, but I hope I'm just overlooking it.
-Ben
--
Ben Darnell [EMAIL PROTECTED]
http://www4.ncsu.edu/~bgdarnel/thoughtstream