Question about NSView's -enterFullScreenMode:withOptions: method
Question about NSView's -enterFullScreenMode:withOptions: method
- Subject: Question about NSView's -enterFullScreenMode:withOptions: method
- From: "douglas a. welton" <email@hidden>
- Date: Thu, 6 Dec 2007 13:51:04 -0500
Hi all,
I have an QTMovieView that I would like to display fullscreen across
multiple displays. The following code does not work:
FullScreen_Options = [NSDictionary dictionaryWithObject: [NSNumber
numberWithBool: YES] forKey: NSFullScreenModeAllScreens];
[DisplayMovieView enterFullScreenMode: [NSScreen mainScreen]
withOptions: FullScreen_Options];
I would expect a stretched-out version of the movie displayed across
both the monitors on my test system. Instead, the movie displays on
the mainScreen only. (Note: The movie view's "preserve aspect ratio"
attribute is set to NO with the Interface Builder)
I changed the code to the following:
[DisplayMovieView enterFullScreenMode: [[NSScreen screens]
objectAtIndex: 1] withOptions: FullScreen_Options];
and got the movie to display only on the second monitor. Changing the
screen argument to "nil" resulted in no switch to fullscreen.
So: How do I specify a screen that will allow me to display my movie
across all my monitors?
thanks in advance.
douglas
_______________________________________________
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