Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!kazim From: kazim@Apple.COM (Alex Kazim) Newsgroups: comp.sys.mac.programmer Subject: Re: Dialog Edit menu, display of shortcuts (was: Movable-Modal WDEF) Summary: Sick Hacks Keywords: Dialog Manager Message-ID: <39327@apple.Apple.COM> Date: 9 Mar 90 01:22:53 GMT References: <39127@apple.Apple.COM> <1831@esquire.UUCP> <10672@hoptoad.uucp> <1838@esquire.UUCP> <7085@goofy.Apple.COM> Organization: Apple Computer Inc, Cupertino, CA Lines: 11 If you're bored, there's a really sick hack to get menus to work with Modal Dialog. ModalDailog will call ErrorSound() on a mouseclick outside the window. So, make your own ErrorSound proc, and check the mousedown in the menubar, call MenuSelect, etc. Not for the weak of heart. ==================================================================== Alex Kazim, Apple Computer "Sometimes you just gotta break the rules" -- Burger King ====================================================================