Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!prisoner.Eng.Sun.COM!zellers From: zellers@prisoner.Eng.Sun.COM (Steve Zellers) Newsgroups: comp.sys.mac.programmer Subject: Re: event filtering Message-ID: <1185@exodus.Eng.Sun.COM> Date: 8 Oct 90 02:46:59 GMT References: <39@neches.cs.utexas.edu> Sender: news@exodus.Eng.Sun.COM Organization: Sun Microsystems, Mt. View, Ca. Lines: 15 In article <39@neches.cs.utexas.edu> benkei@cs.utexas.edu (William Kent Richards) writes: >Also, how can I get this program to effectively put it's own menu >in the app's menu bar? This is usually done by patching several traps... The method is generally to patch _DrawMenuBar to draw your menu after the last menu's right edge (there are low memory globals you get this from), then you insert your menus in response to menubar clicks, and delete the menu on a mouse up. (I could post code to do this, if you like...) -- ------------------------------------------------------------------------ Steve Zellers zellers@prisoner.sun.com "All you slimy fruitcakes in San Fransisco are going to find out how to get to 180 and the letter 'G'. I repeat, there is No Other Possibility."