Thats what happens when refer to old notes.  It is -1.

----- Original Message ----- 
From: "Tim Kostka" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, April 30, 2004 9:17 AM
Subject: Re: about nilEvent


> "If you supply a value of zero for the timeout parameter, EvtGetEvent
> returns the event currently in the queue, or, if there aren't any events
in
> the queue, it immediately generates and returns a nilEvent."
>
> evtWaitForever is defined to be "-1" while evtNoWait is defined to be "0".
> Passing zero for the timeout parameter will not wait at all for an event
to
> enter the queue if one is not already there.
>
> -- 
> Tim Kostka
> http://www.nuprograms.com
>
>
> "Dave Lippincott" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > 0 is not return immediately, its actually wait for next event.  Pass
some
> > number other than 0.  Don't think of the parameter as the 'time out'
value
> > but rather as how long will EvtGetEvent wait until generating a nilEvent
> > (with 0 being 'forever')
>
>
>
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>



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

Reply via email to