Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site k.cs.cmu.edu.ARPA Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!ucbvax!ucdavis!lll-crg!seismo!rochester!pt.cs.cmu.edu!k.cs.cmu.edu!tim From: tim@k.cs.cmu.edu.ARPA (Tim Maroney) Newsgroups: net.micro.mac Subject: Re: Time for SubMenus Message-ID: <610@k.cs.cmu.edu.ARPA> Date: Sat, 19-Oct-85 21:41:28 EDT Article-I.D.: k.610 Posted: Sat Oct 19 21:41:28 1985 Date-Received: Thu, 24-Oct-85 00:25:40 EDT References: <3@gumby.UUCP> Organization: Carnegie-Mellon University, Networking Lines: 31 Dennis Adams made some good points concerning the difficulting of using the proposed submenus. This can't be solved by having them pop up overwriting the current menu, because that destroys browsing and access to lower menu items. One solution is directly moving the mouse location to the start of the sub-menu, which you can do by twiddling marginally documented low-memory globals. But if you were really trying to run down the list of menus, this wouldn't be very nice, since you'd be back to the right-angle precision turn that Dennis rightly complained about. Perhaps the only easy-to-use solution would involve a fusion approach. When the mouse passes over a menu item which opens a submenu, the submenu appears to the right. The submenu can be directly moved to using mouse movement, or the main menu item may be selected. If the latter, the mouse button is released while still selecting the main menu item. This causes the menu definition to be called with mChooseMsg. The menu definition can look at the item, see if it opens a submenu, and if so, move the mouse location onto the submenu and allow selection from the submenu. I hope everyone realizes that submenus would require that extending the Menu Manager. The popping up of submenus during mouse dragging cannot be controlled directly by the menu definition procedure; the only way to do this in the current system would be to install a vertical retrace task on mDrawMsg that checks to see if conditions are such that a submenu should be brought up or removed, removing it on mChooseMsg. That would be incredibly kludgy, though not impossible. -=- Tim Maroney, CMU Center for Art and Technology Tim.Maroney@k.cs.cmu.edu uucp: {seismo,decwrl,etc.}!k.cs.cmu.edu!tim CompuServe: 74176,1360 My name is Jones. I'm one of the Jones boys.