DIAMOND JEFF <[EMAIL PROTECTED]> wrote:
> This is a very basic API question and I apologize if I have just
> overlooked in in the SDK documentation, but I was wondering if the
> PalmOS has something like PeekMessage such that if you have no messages
> in your queue, you don't block your application...
> (If you have messages, you of course handle them - I'm not trying to
> lock up the machine - just to keep my app from freezing while waiting
> for feedback...)
How about EvtEventAvail? Or, have you tried experimenting with a zero
timeout value to EvtGetEvent? (I haven't, but looking at the source, it
seems that it would do what you want, but it also seems to incur lots
of overhead compared to EvtEventAvail.)
--
Roger Chaplin
<[EMAIL PROTECTED]>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/