Yes, that was the Palm OS version in which that feature was added.  Did you see
the section starting on page 102 of the Palm OS Programmer's companion?  I found
it just by looking up Menus in the Table of Contents.  It seems relevent to what
you want to do.

There's also the information starting on page 94 of the Palm OS Reference.

Or perhaps you just need to use the system-defined command numbers for your menu
items, if you're not doing that:

// System Menu Bar and Menus
#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

But I honestly don't know where using these is documented. But they've been
mentioned here in the past:

     <http://www.escribe.com/computing/pcpqa/m19032.html>
     <http://www.escribe.com/computing/pcpqa/m6185.html>
     <http://www.escribe.com/computing/pcpqa/m6003.html>

The last two are from two Palm OS engineers, who should know what they're
talking about.  The middle one even talks about using those menu item numbers in
conjunction with the Palm OS 3.5 command bar.

-- Keith Rollin
-- Palm OS Emulator engineer






"Bradly J. Barton" <[EMAIL PROTECTED]> on 02/06/2001 09:28:08 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  "Bradly J. Barton" <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:    (Keith Rollin/US/PALM)
Subject:  Menu Icons in Post 3.5



I can't seem to locate the information I am seeking in the knowledge base..
I want to say it was OS 3.5 that introduced the little menu box that pops up
when the user makes the menu stroke.. in that box are sometimes icons like
Paste, Undo, etc... How do I make these work with the Cut, Paste, etc menu
items in my own menus? Right now, if I choose Copy from my menu, I can paste
what was copied using my Paste item or by making the menu stroke and the
shortcut (P). But if I click the Paste icon in the menu box that pops up, it
won't paste what I copied... what is going on here?




-- 
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