home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18324 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1.2 KB  |  24 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!destroyer!news.iastate.edu!vlsi2!jvp
  3. From: jvp@vlsi2.ee.iastate.edu (Jim Van Peursem)
  4. Subject: How to tell screen depth?
  5. Message-ID: <jvp.721588860@cpre1.ee.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Organization: Iowa State University, Ames IA
  8. Date: Thu, 12 Nov 1992 17:21:00 GMT
  9. Lines: 13
  10.  
  11.   How do I tell the screen depth of the monitor that one of my window's is
  12. in?  I don't want to know if the computer has color quickdraw.  I want to
  13. know whether to draw the window in color or not based on the pixel depth
  14. of the screen.  Can anyone point me in the right direction please?
  15.  
  16. +---------------------------------------------------------------+
  17. | Jim Van Peursem - Ph.D. Student - Ham Radio -> KE0PH          |
  18. | System Administrator - Digital Systems Design Lab             |
  19. | Department of Electrical Engineering and Computer Engineering |
  20. | Iowa State University - Ames, IA 50011                        |
  21. | internet - jvp@cpre1.ee.iastate.edu                           |
  22. |          - jvp@iastate.edu                                    |
  23. +---------------------------------------------------------------+
  24.