home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!usc!cs.utexas.edu!bcm!aio!mark@cheers.jsc.nasa.gov
- From: mark@cheers.jsc.nasa.gov (Mark Manning)
- Subject: SOLVED! (The Menu Problem)
- Message-ID: <1992Nov13.193046.20761@aio.jsc.nasa.gov>
- Sender: news@aio.jsc.nasa.gov (USENET News System)
- Organization: Simulacron I
- Date: Fri, 13 Nov 1992 19:30:46 GMT
- Lines: 37
-
- Thanks go to Chuck at chuck@gte.com for solving this problem for
- me! Thanks also go to everyone else who sent in suggestions on
- what was the matter.
-
- What Chuck suggested was that maybe the submenus had been moved from
- a previous location within the resource. Thus, the hidden menu ids
- were different than those displayed. Since I've never had any problems
- with creating submenus before, I never had seen this happen. But
- that was the exact error. Thanks again Chuck! :)
-
- Synopsis:
-
- Within ResEdit, there are at least three (that I know of) places
- where a menu id can be located. The first is when you create
- the menu. The menu is assigned a unique id so it can be separated
- from the rest of the menus when it is stored in the resource. This
- is the menu id you see when you open up a file and double click on
- the "MENU" resource.
-
- The second menu id is found when you are using ResEdit 2.1.1 and are
- creating a given menu. If you say the menu entry has submenus, then
- an ID field pops up and you can declare where the submenu is located.
-
- The last location (the one I didn't know about) is a new menu entry
- which appears whenever you open a menu to look at it. The new menu
- entry (which appears on the menu bar) is called "MENU". This entry
- allows you to change the internal menu id by which the menu you are
- looking at is known to the Macintosh system. This id number should
- match the id number of the menu you are presently looking at. If it
- doesn't, then bad things can happen (like loosing the menu). Adjust
- it accordingly and your menus should pop up ok.
-
- Notes:
-
- Well, thanks again to everyone (especially Chuck) and now I'm off to
- continue my programming. Later!
-
-