Yes, I do it similarly, but with penDownEvent and assigning
the value to X,Y somewhere where the Title bar is. I don't like
any of those, it looks more like hacking. I hope someone will
post some better solution.

*> -----Original Message-----
*> From: [EMAIL PROTECTED]
*> [mailto:[EMAIL PROTECTED]
*> Sent: Tuesday, 13 September, 2005 05:11
*> To: Palm Developer Forum
*> Subject: Re: how to popup menu
*> 
*> 
*> [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/
*> 

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

Reply via email to