• 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
Question about NSView's -enterFullScreenMode:withOptions: method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Question about NSView's -enterFullScreenMode:withOptions: method
      • From: Andrew Farmer <email@hidden>
  • Prev by Date: Re: [Leopard] CIContext thread safety [was: CGContextDrawShading crash a known problem?]
  • Next by Date: Re: Assignment problem with doubles: turning into NaN under Leopard
  • Previous by thread: Re: [SOLVED] Assignment problem with doubles: turning into NaN under Leopard
  • Next by thread: Re: Question about NSView's -enterFullScreenMode:withOptions: method
  • Index(es):
    • Date
    • Thread