"Richard Burmeister" <[EMAIL PROTECTED]> wrote in message
news:48907@palm-dev-forum...
>
> > From: Ng Wei Gee
> >
> > > Are you generating this event in code? If you are generating the
event
> > > yourself, are you setting the commandKeyMask? How about
> > showing some code
> > > for us to look at?
> >
> > Sigh, that's precisely the problem, I'm not!! When I tap on the menu
> > silkscreen, the following events get generated:
> >
> > nilEvent -> penDownEvent -> penUpEvent -> keyDownEvent
> >
> > The last keyDownEvent is the one that contains the vchrMenu, and
should
> > theoretically be handled by MenuHandleEvent and a menuEvent will be
> > generated and queued automatically. But that doesn't happen... :(
The menuEvent isn't created on vchrMenu -- that keystroke directly opens
the menu.
menuEvent only appears in the system in two cases. It gets sent when a
menu item is selected, and its gets sent when the user enters a menu
shortcut. Under Palm OS 3.5 and later, in some cases you might have
vchrMenu do initialization, then send a menuOpenEvent, but menuEvents
are only sent when something is picked.
--
Ben Combee, [EMAIL PROTECTED]
Techwood Broadcasting Foundation, Austin Bureau
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/