• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Function for check Video Resolution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Function for check Video Resolution
  • Next by Date: client/server communication using CFSocket
  • Previous by thread: Re: Function for check Video Resolution
  • Next by thread: client/server communication using CFSocket
  • Index(es):
    • Date
    • Thread