[comp.sys.mac.programmer] Hierarchical menus and other cleverness in MPW

ccc_ldo@waikato.ac.nz (02/13/90)

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.