Hi, The value of the 'cmd' parameter of the 'PilotMain' function tells you just that. If it's value is equal to 'sysAppLaunchCmdNormalLaunch', you're the 'active program', if it's anything else, you're not.
Take a good look at the Palm stationary to get an impression. Good luck, Caspar -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RVRoadie Sent: Thursday, May 20, 2004 1:52 AM To: Palm Developer Forum Subject: What technique to determine active/inactive What technique is best for determining whether you are the active program, or you are receiving a background notification or callback? Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
