In article <90114@palm-dev-forum>, [EMAIL PROTECTED] says...
> 
> I have written a simple game that does not warrent a complete menu, 
> however I would like to display an about box and some help...
> 
> How do I respond to the user tapping on the silk-screen menu button? 
> Can I do this without explicitly testing the pen-down position?
> The menuOpenEvent looks good but never seems to arrive.

Before calling MenuHandleEvent in your standard event handler loop, look 
for keyDown events with vchrMenu -- this is the virtual key generated 
when the user taps on the menu silkscreen.

See Chars.h for a list of all the various characters -- you might want 
to handle the command key too, especially if you don't ever call 
MenuHandleEvent.
-- 
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Get help at http://palmoswerks.com/

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

Reply via email to