home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / oop / macapp3 / 651 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.2 KB

  1. Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!spool.mu.edu!agate!stanford.edu!apple!applelink.apple.com
  2. From: DIGIMATCH@AppleLink.Apple.COM (3M, Ran Bedekar,PRT)
  3. Newsgroups: comp.sys.mac.oop.macapp3
  4. Subject: Re: Buzzwords & MENUs
  5. Message-ID: <728233451.8646278@AppleLink.Apple.COM>
  6. Date: 28 Jan 93 15:01:00 GMT
  7. Sender: daemon@Apple.COM
  8. Organization: AppleLink Gateway
  9. Lines: 16
  10.  
  11. Dave,
  12. I suspect that your problem was due to a menu ID (i.e., the one in the menu
  13. resource, NOT the resource ID) that was out of sync with the menu's resource
  14. ID.  MacApp tends to use the two interchangably, so if your menu IDs are not
  15. the same as your menu's resource IDs you will run into problems.
  16. Specifically in your case, I suspect that your MENU #2001 resource had a menu
  17. ID of 128 (the ResEdit default).  This could cause it to be returned by
  18. gMenuTable->GetMenu in the place of CMNU #128 (MacApp's buzzword menu).
  19. If you change your menu's resource ID in ResEdit when the menu is open, ResEdit
  20. will ask if you also want to change the menu ID.  However, if the menu is
  21. closed, you can change the resource ID without a peep about the menu ID.
  22. You can examine the menu ID using ResEdit's 'MENU' menu when your menu is open.
  23.  
  24. Regards,
  25. Nick Nallick
  26.  
  27.