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