Okay, I found I can change the ID in my event handler to the system event,
return false, and the system will handled the event:

        event->data.menu.itemID = sysEditMenuCopyCmd;
        return false;


Steve Achelis <[EMAIL PROTECTED]> wrote in message
news:10320@palm-dev-forum...
>
> I'm trying to add cut/copy/paste commands to my app.  In looking at the
> Address.mcp project, it looks like they set the ID's of their menu's to
the
> system values (e.g., the Copy command is set to 10002, which is
> sysEditMenuCopyCmd).  They then let the system handle the menu event.
>
> However, the ID's of my menu items are automatically generated (i.e., the
> header file is created by the resource Constructor), so my menu's Copy
> command has an ID of 1203.
>
> Any ideas on how I can get my menu ID to be the same as the system's ID?
>
> Thanks in advance!
>
> Steve
>
>
>
>



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

Reply via email to