In article <11441@palm-dev-forum>, Dave Johnson wrote:
>So I need a way for the user to exit this mode, and I figured a tap in 
>the graffiti area might be a good way to handle that. I figured I'd get 
>some sort of event when the graffiti area is tapped, and I do get a nil 
>event, but the pen coordinates in the event record aren't correct. Maybe 
>I should just assume that if I'm in that mode and a nill event occurs, I 
>should exit?

Any data that may be attached to a nilEvent is meaningless.  There are
many ways nilEvents may be generated, so they won't work for your
purpose. 

>
>I'd appreciate any suggestions on how to reliably detect a graffiti-area 
>tap, or for that matter on other possible ways to handle this "full scren 
>mode" thing.

Are you using the silkscreen buttons?  I've seen several games use the
Menu button for this sort of thing.  You can trap the silkscreen buttons
in your keyDownEvent handler.

-Ben

-- 
Ben Darnell              [EMAIL PROTECTED]
http://thoughtstream.org
Finger [EMAIL PROTECTED] for PGP/GPG key 1024D/1F06E509


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to