home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!unix!css-mac1.sri.com!user
- From: mxmora@unix.sri.com (Matthew Xavier Mora)
- Newsgroups: comp.sys.mac.programmer
- Subject: Detecting Invalid MCEntries?
- Message-ID: <mxmora-220193101537@css-mac1.sri.com>
- Date: 22 Jan 93 18:30:37 GMT
- Sender: news@unix.SRI.COM
- Followup-To: comp.sys.mac.programmer
- Organization: SRI International
- Lines: 24
-
- My MXMClock program that I just released has been crashing
- on a few fx's and one ci. I narrowed it down to the Menu color
- entries. Apparently, the MCEntries on these machines is bad or
- someone or something is messing with them (init's or cdev's).
- I get the color of the menu text and the menubar background
- and set my gworlds fore and back color to those values. Without
- getting the menu color the clock program works fine on these
- machines. With the code its crashes or displays the clock
- in a very light green color.
-
- I seem to remember that apple changed the Menu color resource
- format when it created system 7. Am I running into old Menu
- color resources? How can I detect a valid menu color resources?
-
- Thanks,
-
- Xavier
-
-
- --
- ---------------------------------------------------------------------
- Matthew Xavier Mora mxmora@unix.sri.com
- SRI International (415) 859-5011
- ---------------------------------------------------------------------
-