home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!cs.utexas.edu!tamsun.tamu.edu!inetg1!nuntius
- From: Randy DeRuiter <dedrad@arco.com>
- Subject: DRVR, init advice sought..
- Message-ID: <1992Jul27.155619.17939@Arco.COM>
- Sender: news@Arco.COM
- Organization: ARCO Alaska, Inc.
- X-Useragent: Nuntius v1.1
- Date: Mon, 27 Jul 1992 15:56:19 GMT
- Lines: 16
-
- I'm in the midst of writing an init based utility which adds a menu to
- the menubar - all applications, not just the finder. Right now I see two
- potential paths I can take to accomplish this :
- 1) Patching Drawmenubar to add what I want, then possibly patching
- GetNextEvent to do the mouse tracking for my added menu. or
- 2) Loading a DRVR which attaches a menu for me.
- I'm having reasonable success with path 1), but I don't like it because
- it's not too friendly a method in the already crowded menubar. I have an
- old code example of path 2), but it doesn't appear to work well in System
- 7 - desk accessories refuse to launch with the resident driver in place.
- My main question is: is path 2) a viable method with system 7? Sorry
- for the vague question, but I can provide more specific code to anyone
- who has knowledge in this area. Reply direct if this is not worth a long
- thread on the network.
- Thanks.
- dedrad@arco.com
-