Low battery alerts and other such stuff will be delayed and/or held in the queue until the pen comes up, then they will be shown/processed. I claim this is a good thing for both the user and the programmer.
Note that the system UI controls track the pen modally as well. Try, for example, pressing the power button or another hard button while holding the pen down in a system button control. Nothing happens until the pen comes up, then it happens. Dave Parker TapPoint www.tappoint.com "John Leung" <[EMAIL PROTECTED]> wrote in message news:99103@;palm-dev-forum... > > Just out of curiosity. While your pen is down and moving, is it > possible for a low battery alert dialog box to pop up (or even some > other dialog box pops up due to a timer events)? If it is possible, > what would happen to your code below? > > > On 23 Oct 2002 at 9:49, Dave Parker wrote: > > > > case penDownEvent: > > if (FrmGetWindowHandle(FrmGetActiveForm()) == > > WinGetActiveWindow()) > > { > > EvtGetPen(&x, &y, &penDown); > > if (hit test at x, y) > > { > > while (penDown) > > { > > // process (x, y); > > EvtGetPen(&x, &y, &penDown); > > } > > handled = true; > > } > > } > > break; > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
