--- Dinesh Kumar wrote:
> In my app the GUI has an exit button.what function can 
> be used for that i've tried SysAppExit and exit(0).it 
> doesn't works.

Palm OS apps don't use an exit button.

If someone is forcing you to put an exit button on your app, you can
add an appStopEvent event to the event queue and when that arrives in
the event loop, your app will exit.

  do {
    EvtGetEvent(&event, evtWaitForever);
    //  ...
  } while (event.eType != appStopEvent);


__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

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

Reply via email to