home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13052 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.3 KB  |  28 lines

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