Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screensaver multiple monitor detect



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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.