Hi!
I'm trying to write a little C CLI app that changes the refresh rates of my display.
I've experimented with the following:
mode = CGDisplayBestModeForParameters(dspy,8,640,480,& ;exactMatch);
err = CGDisplaySwitchToMode(dspy,mode);
where dspy is the id of the display.
CGDisplaySwitchToMode allows me in this example to switch to a resolution of 640x480 with 8-bits color depth.
But how can I change refresh rate from 60Hz to 50Hz? CGDisplaySwitchToMode doesn't seam to take any more parameters.
Any ideas?