[EMAIL PROTECTED] wrote:

I want to put an menu icon on screen. When tap at it, menu will pop up, just 
like the popping up menu when tapping at the Menu Icon on silkscreen. Can 
anybody tell me how to do it. Thanks.
Here's one way...

void PostMenuKey(void)
{
   EventType    event;

   event.eType=keyDownEvent;
   event.data.keyDown.chr=vchrMenu;
   event.data.keyDown.modifiers=commandKeyMask;
   EvtAddEventToQueue(&event);
}

Bob

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

Reply via email to