>So are you saying that
> void EvtGetPen (Sword *pScreenX, Sword *pScreenY, Boolean *pPenDown)
>can be safely called from a compute routine deep inside an event loop?
>The SDK reference doesn't say whether or not it dequeues the pen down.
Yes, you can call it, it doesn't dequeue any events: it just checks the
current position of the pen.
>What's the approved and safe method to make sure the pen is over my
>applications window (and not some current or future PalmOS display area)?
Convert the x and y to your form's bounds, and see if it is in-bounds or
not. There's some function in the Window or Form manager which does the
conversion... check the docs.
-David Fedor
Palm Developer Support