Hi Cathy...

I believe you'll want to test for the 'appStopEvent' event.  A typical 
AppEventLoop would look something like this:

static void AppEventLoop(void)
{
  EventType   event;
  Err         err;

   do
  {
    if (! SysHandleEvent(&event))
      if (! MenuHandleEvent(NULL, &event, &error))
        if (! AppHandleEvent(&event))
          FrmDispatchEvent(&event);

  } while (event.eType != appStopEvent);

David

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

Reply via email to