home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 21976 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.3 KB

  1. Path: sparky!uunet!stanford.edu!unix!css-mac1.sri.com!user
  2. From: mxmora@unix.sri.com (Matthew Xavier Mora)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Detecting Invalid MCEntries?
  5. Message-ID: <mxmora-220193101537@css-mac1.sri.com>
  6. Date: 22 Jan 93 18:30:37 GMT
  7. Sender: news@unix.SRI.COM
  8. Followup-To: comp.sys.mac.programmer
  9. Organization: SRI International
  10. Lines: 24
  11.  
  12. My MXMClock program that I just released has been crashing 
  13. on a few fx's and one ci. I narrowed it down to the Menu color
  14. entries. Apparently, the MCEntries on these machines is bad or
  15. someone or something is messing with them (init's or cdev's).
  16. I get the color of the menu text and the menubar background
  17. and set my gworlds fore and back color to those values. Without
  18. getting the menu color the clock program works fine on these
  19. machines. With the code its crashes or displays the clock 
  20. in a very light green color.
  21.  
  22. I seem to remember that apple changed the Menu color resource 
  23. format when it created system 7. Am I running into old Menu 
  24. color resources? How can I detect a valid menu color resources?
  25.  
  26. Thanks,
  27.  
  28. Xavier
  29.  
  30.  
  31. --
  32. ---------------------------------------------------------------------
  33. Matthew Xavier Mora                               mxmora@unix.sri.com
  34. SRI International                                      (415) 859-5011
  35. ---------------------------------------------------------------------
  36.