From: "Tom Hoelscher" <[EMAIL PROTECTED]>

> Don't know about ignoring the event, though.  Does the event manager toss
> them after they age & haven't been processed?  If not, you could always
just
> tell it that you handled the event...

The event is consumed, but no exit is performed when you get it (although
you can do something else, such as to display an alert).

EventLoop(void) {
    while (true) {
        EvtGetEvent(&event, evtWaitForever)
        ProcessEvent(&event)
    }
}

instead of the usual :

EventLoop(void) {
    do {
        EvtGetEvent(&event, evtWaitForever)
        ProcessEvent(&event)
    } while (event.eType != appStopEvent)
}


-- 
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