Hello,
I am working on a little app that needs to capture taps anywhere on the screen to change to the next piece of information (it is intended to be used in a car while driving, so the goal is to be as generous as possible with the active area of the screen).
That is all working great by capturing the penUpEvent, except that I seem to be
getting additional pen up events for all the menus and for the about box OK
button.
Easy fix: don't do anything for penUp if you've not seen an earlier penDownEvent.
This is an issue with Palm OS. When you tap on a button, it goes into a hard loop, calling EvtGenPen to track the pen's position. When that returns that the pen was up, the button handling code in the OS decides to send off a ctlSelectEvent or do nothing. However, nothing absorbs the penUpEvent.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
