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

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!ads.com!jtn
  3. From: jtn@ADS.COM (John T. Nelson)
  4. Subject: How to get info frmo graphics deivces?
  5. Message-ID: <1992Jul31.040613.6535@ads.com>
  6. Sender: usenet@ads.com (USENET News)
  7. Organization: Guest of Booz, Allen & Hamilton, Inc./Advanced Decision Systems
  8. Date: Fri, 31 Jul 1992 04:06:13 GMT
  9. Lines: 19
  10.  
  11.  
  12. Not a lot of time here so I have to post this in a hurry... I'm trying
  13. to obtain information from graphics devices attached to my Mac.  For
  14. example I have three NuBus boards on my Mac, all of which are video
  15. cards.  Now how do I find "Vendor A's" card according to a string or
  16. vendor-specific ID number and then obtain the rect and depth of its
  17. screen on the desktop?  Grapics devices have the rect and depth info
  18. but there doesn't seem to be any way to identify the individual
  19. graphics device.  The Slot Manager and sResouces can be used to find
  20. NuBus cards (in assembly language yuk) but there doesn't seem to be any
  21. way to associate a NuBus device with a graphics device.
  22.  
  23. I'm trying to do the sort of stuff that the Monitors Control Panel
  24. does.
  25.  
  26. So anyone have any guidence or code that will show me how to talk to
  27. graphics devices, find the screen I'm looking for and obtain its info?
  28. Thanks in advance for your help.....
  29.  
  30.