Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!munnari.oz.au!kaukau.comp.vuw.ac.nz!virtue!ccc_ldo From: ccc_ldo@waikato.ac.nz Newsgroups: comp.sys.mac.programmer Subject: Hierarchical menus and other cleverness in MPW Message-ID: <117.25d708cf@waikato.ac.nz> Date: 13 Feb 90 02:57:31 GMT Lines: 18 Some people have expressed a wish for the ability to set up hierarchical menus from within the MPW Shell. I've been doing this successfully for over a year now, using a set of custom MPW tools. The only slightly questionable things that they do are a) traverse the menu list structure pointed to by the MenuList low-memory global (why? 'cos Apple doesn't provide a GetMenuByName service, that's why!) and b) muck around with the menu hierarchy behind MPW's back. Actually, my tools let you do two separate things: a) set up hierarchical menus, and b) fiddle the text of MPW's menu items. I use the latter function on the "Directory" menu, so the first item always indicates the current directory directly, instead of having to select "Show Directory" to display it in a lame dialog box. If anybody's interested, let me know, and I'll post the code to comp.sources.mac.