• 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
NEWBIE: Refresh Rate, how to find?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NEWBIE: Refresh Rate, how to find?


  • Subject: NEWBIE: Refresh Rate, how to find?
  • From: Joel Lachter <email@hidden>
  • Date: Wed, 21 Aug 2002 23:16:52 -0700

I would like to find the refresh rate of my monitor. Apple has some sample code that seems like it is supposed to do this (the VBL sample) but a) it doesn't seem to work (prints out "hz = 0") and b) the code isn't commented so I am not sure what is wrong.

Anyway, the VBL sample code makes me think it should be possible to get the refresh rate without trying to use CGDisplayBeamPosition and trying to time it. However, I haven't been able to get the sample code to work and I haven't been able to find any documentation. Can someone give me a clue?

Thanks,

Joel Lachter
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NEWBIE: Refresh Rate, how to find?
      • From: "Timothy J. Wood" <email@hidden>
  • Prev by Date: RE: What method to override to initialize fields on a form?
  • Next by Date: Re: transparent NSTextView
  • Previous by thread: RE: What method to override to initialize fields on a form?
  • Next by thread: Re: NEWBIE: Refresh Rate, how to find?
  • Index(es):
    • Date
    • Thread