• 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: NSScreen and capturing a second display only
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScreen and capturing a second display only


  • Subject: Re: NSScreen and capturing a second display only
  • From: Hank Heijink <email@hidden>
  • Date: Sun, 1 Oct 2006 14:12:19 -0400

Check out the documentation for NSScreen, specifically the +screens method. [[NSScreen screens] objectAtIndex:1] is your second screen if it's there.

http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Classes/NSScreen_Class/Reference/Reference.html

Hank Heijink
www.hankheijink.com
email@hidden

On Oct 1, 2006, at 1:40 PM, Adam Radestock wrote:

Hi, this is my first time posting on this list, and I'm only just starting out with Cocoa, so please be patient. :-)

I'm writing an application to run Quartz Compositions on projection screens around a night club, and need to keep the main screen for my controller interface, while capturing the other displays for the full screen QC visuals. There are plenty of examples of capturing the main display, but I cannot work out how to capture just the second display. Can anyone provide a hint or snippet of code to get me started on this?

Thanks in advance,

Adam Radestock



----------
"Chaos, panic and disorder ... my work here is done."

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >NSScreen and capturing a second display only (From: Adam Radestock <email@hidden>)

  • Prev by Date: A bit confused about NSView instances in Interface Builder
  • Next by Date: Re: A bit confused about NSView instances in Interface Builder
  • Previous by thread: NSScreen and capturing a second display only
  • Next by thread: A bit confused about NSView instances in Interface Builder
  • Index(es):
    • Date
    • Thread