Path: utzoo!attcan!telly!lethe!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!maverick.ksu.ksu.edu!hoss!fergvax!shores From: shores@fergvax.unl.edu (Shores) Newsgroups: comp.sys.mac.programmer Subject: Hierarchial Menus with ResEdit 2.1 Message-ID: Date: 3 Jan 91 01:11:09 GMT Sender: news@hoss.unl.edu (Network News Administer) Distribution: comp Organization: University of Nebraska - Lincoln Lines: 20 I am writing an application whose menus are to be put up using the very handy MBAR/MENU combo. All I had to do before is call GetNewMBar(), SetMenuBar(), DrawMenuBar() and my entire menu would be drawn. But my menus are starting to go off the side of my puny MacPlus screen so I wanted to reorganize my menubar to use some hierarchial menus. How do you use the nifty ResEdit menu editor to add hierarchial menus? The editor allows me to specify an item to have a submenu, and then it asks for the rsrc ID of a MENU. I can put in a valid MENU id, but when my application runs, the menu item has the familiar filled-triangle but when I select the item, no submenu pops up as it should. I have used hierarchial menus before using the hard-coded method and I do not want to have to code in a zillion lines if all I have to do is use ResEdit and the 4 lines or so it takes to draw the menu bar quick and painlessly. % t-o-m s-h-o-r-e-s "It's fallen and I can't get it up" --That old lady's husband