Neil Rhodes wrote:
>If you open the resources with ResEdit, you'd find that although the
>resource IDs aren't 10000, the menu IDs (a separate concept on the Mac) are.

Yikes! Once I knew it was there, I did manage to get ResEdit to let me see it.

Richard Hartman wrote:
>How do you use the standard edit menu in CW?
>If there were a text-based resource language,
>I could just add it in ... but since the darned
>thing is GUI I can't figure out how add a menu
>with a given ID # (like 10000) to the menu bar.

What you do is create a menu called Edit with the standard items in it. You assign it 
an ID of 10000. You add it to the menu bar by dragging it.

Alternatively, you add a new menu to the menu bar, call it Edit, set its ID to 10000, 
and add the standard menu items.

The above instructions work fine if you only have one form with an Edit menu. If you 
have several, create a single Edit menu and have all your menu bars refer to it. If 
the references are in different files, the Constructor will display the Edit menu as 
"10000" rather than showing the actual menu, but it'll work fine. To add a reference 
to the Edit menu in another file, create a menu in the same file and set its ID to 
10000. Then add it to the menu bar by dragging. Then set the ID of the menu to 
something else. Then delete the menu using backspace. (If you delete the menu before 
changing the ID, it'll remove the reference from the menu bar automatically.) I found 
that the menu item IDs assigned by Constructor sometimes started at 10000 (correctly) 
and sometimes started at some other number. I had to "play with it" for a while to get 
it to work. All in all, a pretty tricky process.

All of this is on the Mac version of Constructor that ships with CodeWarrior R5.
-
Danny Epstein, Applied Thought Corporation
Have friends with Palm organizers? Get BeamBooks!
http://www.appliedthought.com/beambooks

Reply via email to