<snip...>
>Just checking - are you talking about your own modal dialog, or 
>someone else's?   For example, if you're talking about getting 
>nilEvents when the Find dialog is up, you won't: the Find dialog has 
>a nested event loop and yours will get nothing.  Same for things like 
>SelectDay(), the keyboard dialog, etc.
<snip...>

If you are desperate for them, you could always register for the 
sysNotifyEventDequeuedEvent and check for nil events, but that's probably a little too 
extreme for what you are asking.

-Jon

------------------------------------------------------
Jonathan Hays
Palm OS Certified Developer
GE Infrastructure
http://hazelware.luggle.com/
------------------------------------------------------



>You can get a near periodic nilEvent if you set the timeout parameter in
>EvtGetEvent to something other than 0.   Set the time out to something at
>least twice the desired frequency and look at the current tick count before
>performing your operation.  Do not rely on the timing of the nilEvent, check
>the time yourself.
>
>----- Original Message -----
>From: "Vu Pham" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>Sent: Monday, March 29, 2004 10:02 AM
>Subject: Re: NilEvents on Modal Dialogs
>
>
>>
>>  ----- Original Message -----
>>  From: "Eric Potter" <[EMAIL PROTECTED]>
>>  Newsgroups: palm-dev-forum
>>  To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>>  Sent: Monday, March 29, 2004 8:49 AM
>>  Subject: NilEvents on Modal Dialogs
>>
>>
>>  > Is there a way to modify how often you recieve NilEvents while a Modal
>>  > Dialog is displayed?
>>
>>
>>
>>  Use EvtSetNullEventTick one time before the dialog is called, and then
>from
>>  winthin the event handler of that dialog, call that function again. Note
>>  that this function says "Make sure *a* nilEvent ... ", not periodical.
>>
>>  Vu
>>
>>
>>
>>  --
>>  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/


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