Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!tut.cis.ohio-state.edu!oscsunb!spencer From: spencer@osc.edu (Stephen N. Spencer) Newsgroups: comp.sys.mac.programmer Subject: Menu Resources in ResEdit 2.0b2 Message-ID: <926@gertie.osc.edu> Date: 21 Sep 90 12:46:25 GMT Reply-To: spencer@cgrg.ohio-state.edu (Stephen N. Spencer) Distribution: usa Organization: OSU Advanced Computing Center for the Arts and Design Lines: 36 I've run in to a problem while using ResEdit 2.0b2. I don't have the APDA- supplied manual, only the program itself. (Of course, that's all I've ever had with ResEdit aside from Mark and Reed's _Macintosh Programming Primer_, a great book but that's beside the point.) In ResEdit 1.2, there are MENU IDs and Menu IDs (note the different spellings) associated with each menu. One is set where one builds the menu, the other is set in the 'Get Info' box. In ResEdit 2.0b2, one can only set one of these. (This is where it gets fuzzy, I may be a little confused about which is which) Unfortunately, in Mac code, when one does: handle_menu(command) long command; { theMenu = HiWord(command); theItem = LoWord(command); ... } the value one gets in 'theMenu' isn't the ID that one can set in ResEdit. (Seems to me that one can set a MENU ID but not a Menu ID in 2.0b2.) I had to go back to 1.2 to be able to set the proper IDs to the proper values. Has anyone else seen this problem? Is there a solution? As I said, I don't have the ResEdit 2.0 manual available from APDA, might there be a solution to this problem in there? Thanks for any information, netters. -- Stephen N. Spencer | "Ho! Ha ha! Guard! Turn! Parry! ACCAD, 1224 Kinnear Rd. | Dodge! Spin! Ha! Thrust! " - Daffy Duck Columbus OH 43212-1163 | spencer@cgrg.ohio-state.edu||71160.3141@compuserve.com||stephen_spencer@osu.edu