I would like to programmatically popup a menu when a user taps on the
upper part of my form. This is my title area, although not a true title
resource, thus the system will not handle a tap in that area. One
solution I've tried is:
No need to do all the stuff you've done. It is much simpler to just call

EvtEnqueueKey(vchrMenu, 0, commandKeyMask);

which adds a simulated tap on the menu button to the OS's key queue, which then gets handled as normal. I use this to activate the menu from the top-of-screen logo in the SXSW 2002 schedule application.

--
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/


Reply via email to