Path: utzoo!attcan!uunet!jarthur!usc!cs.utexas.edu!sun-barr!newstop!sun!imagen!atari!portal!portal!cup.portal.com!ts From: ts@cup.portal.com (Tim W Smith) Newsgroups: comp.sys.mac.programmer Subject: Re: Dialog Edit menu, display of shortcuts (was: Movable-Modal Message-ID: <27749@cup.portal.com> Date: 10 Mar 90 04:36:09 GMT References: <39127@apple.Apple.COM> <1831@esquire.UUCP> <10672@hoptoad.uucp> <1838@esquire.UUCP> <7085@goofy.Apple.COM> <39327@apple.Apple.COM> Organization: The Portal System (TM) Lines: 17 < 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 Isn't it easier to just call FindWindow from the filter proc and then call MenuSelect, etc., if FindWindow says the click was in the menu bar? And this has the advantage of not requiring a strong heart... Tim Smith