I may be wrong but FrmDoDialog does not call your main event handler so
EvtGetEvent with your nilEvent timeout value is never getting called.
I had an application that trapped the keyboard and HW buttons in my main
event handler. When I used FrmDoDialog, the virtual keyboard and the HW
buttons resumed their standard responses. I solved it by not using
FrmDoDialog, made my own dialog with custom event handler.
----- Original Message -----
From: "Jon Zaring" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 2:28 PM
Subject: Do nilEvents work when a Dialog is present?
> I'm trying to do some animation in a FrmDoDialog window. For some reason,
> however, when the Dialog is open, the nilEvent stops occurring -- at least
> in POSE. I will get a nilEvent if I click on something in Dialog, but
only
> once, and only after I click. The timeout on EvtGetEvent is set to 100.
>
> I haven't seen anything in the Knowledge Base about this, so is this a
POSE
> problem or is PalmOS supposed to behave this way?
>
> Thanks!
>
> Jon Zaring
> [EMAIL PROTECTED]
>
>
>
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/