Path: utzoo!utgpu!water!watmath!clyde!att-cb!osu-cis!tut.cis.ohio-state.edu!rutgers!mailrus!umix!uunet!mcvax!unido!iraun1!iravcl!joachim From: joachim@iravcl.ira.uka.de Newsgroups: comp.sys.mac.programmer Subject: Re: custom MDEF vs. MenuKey Message-ID: <95@iravcl.ira.uka.de> Date: 16 Apr 88 16:57:43 GMT References: <330@natinst.UUCP> Lines: 16 Posted: Sat Apr 16 17:57:43 1988 Organisation: Universitaet Karlsruhe, IRA, F.R. Germany In article <330@natinst.UUCP>, brian@natinst.UUCP (Brian H. Powell) writes: > the first few standard header bytes) from a regular MENU. > If you look at one of the custom MENUs with ResEdit, you get lots of > gibberish. In particular, the standard MENU template shows that an N > appears in the MenuKey equivalent box. Herein lies the problem. > We have a situation where NEW (normally cmd-N) is grayed out. > Further down the menu bar is our custom menu. MenuKey returns the custom > menu's ID if NEW is grayed out. Add a filler of two zero bytes after the standard components of the record. This will stop MenuKey from interpreting the rest of the record. It also stops ResEdit from displaying garbage, but it does not stop it from truncating the menu :-( Joachim Lindenberg, University of Karlsruhe Federal Republic of Germany - West Germany.