NEWBIE: Refresh Rate, how to find?
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.