• 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
Re: Class for external monitor?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Class for external monitor? (From: Scott Ribe <email@hidden>)
 >Re: Class for external monitor? (From: Jacob Schwartz <email@hidden>)

  • Prev by Date: Re: Strategies for tracking a tricky (typing) slowdown/lag bug
  • Next by Date: Re: Oh notification, where are you?
  • Previous by thread: Re: Class for external monitor?
  • Next by thread: Re: Class for external monitor?
  • Index(es):
    • Date
    • Thread