From: <[EMAIL PROTECTED]>
> #define sysEditMenuID 10000
> #define sysEditMenuUndoCmd 10000
> #define sysEditMenuCutCmd 10001
> #define sysEditMenuCopyCmd 10002
> #define sysEditMenuPasteCmd 10003
> #define sysEditMenuSelectAllCmd 10004
> #define sysEditMenuSeparator 10005
> #define sysEditMenuKeyboardCmd 10006
> #define sysEditMenuGraffitiCmd 10007
Yes, these are the menu ids that come in with the menu event, but how do I
use constructor to tell it to use the system defined 10000 menu? Or do I
need to define my menu in constructor using ID 10000? I've tried a couple of
these and not been able to get them to work......what does work is handling
both on the menu event..
case sysEditMenuPasteCmd:
case NoteEditPaste:
FldPaste(fld);
break;
but this seems rather inelegant and won't support the addition of items to
this menu in future OS's as you mentioned. (The OS Companion and Reference
page numbers you referenced must be from newer versions of the manual, they
don't match up with my copies of the PDFs.. and I can't find anything about
sysEditMenuID or system edit menu in the knowledge base or either of these
files. I have been "rolling my own" menu commands for edit based on a
tutorial I saw a couple years ago.. I guess I'm just behind the times on
this one. /grin)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/