home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!elroy.jpl.nasa.gov!ncar!csn!teal.csn.org!bell
- From: bell@teal.csn.org (Bell Scott)
- Subject: How many colours have YOU got?
- Message-ID: <Bu94Hs.4H4@csn.org>
- Sender: news@csn.org (news)
- Nntp-Posting-Host: teal.csn.org
- Organization: Colorado SuperNet, Inc.
- Date: Tue, 8 Sep 1992 08:49:04 GMT
- Lines: 12
-
- Question: In CycleSpy(tm), I have the Help and About windows set to
- look at 'thePort' to determine the current colour depth. However, occasionally
- this will cause a crash because for some weird reason the PixMap field becomes
- an invalid address. The question is: How can I reliably tell what the current
- colour depth is? ie: The user can change it via the 'Monitors' CDEV without
- my specific knowledge. Before I refresh in response to an update event how do
- I know what the depth is so I can display a legible window?
-
- Scott R. Bell
- PS: Also, I am Colorado SuperNet using 'rn' under SunOS; how do I simply 'post'
- a message? Right now all I can do is press 'f' and delete the References....
- SRB
-