• 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: Screensaver multiple monitor detect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screensaver multiple monitor detect


  • Subject: Re: Screensaver multiple monitor detect
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 31 Oct 2001 17:03:52 +0100

On mercredi, octobre 31, 2001, at 12:44 , Tommaso Pecorella wrote:

Hi, I have a little problem.

I am writing a screensaver and I want to draw different things on the monitor if I have more than one device.
Let me explain better: if the user has one monitor, then the saver act normally, but if there are multiple monitors, I want to be able to draw in a specific one or on all, but differently.

So my question is: how can I check on what monitor the saver is actually running ?
NSWindow has a method to do so, but the ScreenSaver desn't have a similar function (apparently).

Any help whould be very appreciated. Thank you, Tom ;-{))

What prevents you from using the same method by doing in one of your ScreenSaver view subclass:

[[self window] theMethod ]

?


References: 
 >Screensaver multiple monitor detect (From: Tommaso Pecorella <email@hidden>)

  • Prev by Date: Re: how to import a class from PB to IB
  • Next by Date: Launching a Cocoa app via telnet problem
  • Previous by thread: Screensaver multiple monitor detect
  • Next by thread: Re: Screensaver multiple monitor detect
  • Index(es):
    • Date
    • Thread