Dear List,
I am developing a carbon application and using Core Graphics API;s in
the same. I have two issues and would be great if this forum could
suggest some alternatives:
I have dual headed card in my machine and have attached multiple
monitors and i want to disable the mirroring and preventing the user
from shifting primary monitor to secondary.
I am able to disable the mirror using below code snippet:
void disableMirror()
{
CGDisplayConfigRef config;
CGDisplayErr err = noErr;
err = CGBeginDisplayConfiguration(&config);
err = CGConfigureDisplayMirrorOfDisplay(config,
CGMainDisplayID(), kCGNullDirectDisplay);
error = CGCompleteDisplayConfiguration(config, kCGConfigurePermanently);
}
But Is there any API / way to avoid/disable the user from shifting
primary display to secondary ?
i.e the user should not be able to shift primary display to secondary
from SystemPreference->Arrangement
Is it possible ? Please comment.
Best Wishes,
Rodney.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden