🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.macapp3
Article #387

Re: Buzzwords & MENUs

#387
From: 3M, Ran Bedekar,PRT
Date: Thu, 28 Jan 1993 15:01
16 lines
1279 bytes
Dave,
I suspect that your problem was due to a menu ID (i.e., the one in the menu
resource, NOT the resource ID) that was out of sync with the menu's resource
ID.  MacApp tends to use the two interchangably, so if your menu IDs are not
the same as your menu's resource IDs you will run into problems.
Specifically in your case, I suspect that your MENU #2001 resource had a menu
ID of 128 (the ResEdit default).  This could cause it to be returned by
gMenuTable->GetMenu in the place of CMNU #128 (MacApp's buzzword menu).
If you change your menu's resource ID in ResEdit when the menu is open, ResEdit
will ask if you also want to change the menu ID.  However, if the menu is
closed, you can change the resource ID without a peep about the menu ID.
You can examine the menu ID using ResEdit's 'MENU' menu when your menu is open.
 
Regards,
Nick Nallick
 
Technical Details
Message-ID: <728233451.8646278@AppleLink.Apple.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!spool.mu.edu!agate!stanford.edu!apple!applelink.apple.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!spool.mu.edu!agate!stanford.edu!apple!applelink.apple.com
From: DIGIMATCH@AppleLink.Apple.COM (3M, Ran Bedekar,PRT)
Newsgroups: comp.sys.mac.oop.macapp3
Subject: Re: Buzzwords & MENUs
Message-ID: <728233451.8646278@AppleLink.Apple.COM>
Date: 28 Jan 93 15:01:00 GMT
Sender: daemon@Apple.COM
Organization: AppleLink Gateway
Lines: 16