Re: Class for external monitor?
Re: Class for external monitor?
- Subject: Re: Class for external monitor?
- From: Graham Cox <email@hidden>
- Date: Tue, 22 Sep 2009 10:49:34 +1000
On 22/09/2009, at 3:08 AM, Jacob Schwartz wrote:
Yeah, monitor without menu bar will work great, thank you and thanks
to Graham,
You can use CGDisplayIsBuiltin() to detect integrated screens,
therefore any that return NO must be external. But what the "main"
screen is will depend on the users settings, and can vary dynamically,
for example if the user has the main screen set as an external
monitor, and unplugs it, the system will reconfigure immediately
without a reboot and change the main screen to the built-in.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden