RE: Function for check Video Resolution
RE: Function for check Video Resolution
- Subject: RE: Function for check Video Resolution
- From: "Brant Sears" <email@hidden>
- Date: Tue, 17 Jan 2006 17:39:24 -0500
- Thread-topic: Function for check Video Resolution
>What function is for check if my computer is in 640*480, 800*600 or 1024*768
>I need create window using CreateNewWindow and I want know values of Rect
>contentBound parameter in advance.
>
>I'm using MacOS 8,9 and programming in C over MPW
Vladimir,
I think the Carbon-Dev list is actually the right one for your question.
To address your question, I believe you can use the Video Manager to discover the exact size of a display. However, remember that there may be more than one display attached to the computer. Another method that may do what you want is to access the grayRgn using the QuickDraw API which gives you the region of all of the desktop areas unioned together. This region is not necessarily rectangular and doesn't include the menu bar. Instead, it includes the area that windows should take up.
Brant Sears
<<winmail.dat>>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden