> The documentation seems to indicate that EvtEventAvail returns true if an > event is available, false otherwise. I had assumed this included nilEvent > but I'm not seeing it.
There are three event queues in Palm OS: the key queue, the pen queue, and the main event queue. It looks like EvtEventAvail only checks the key and pen queues, and not the main event queue. So EvtEventAvail can return false, even if the event queue contains a nilEvent, or any other event for that matter. -- Danny @ PalmSource -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
