• 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: Fullscreen Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fullscreen Window


  • Subject: Re: Fullscreen Window
  • From: Conor <email@hidden>
  • Date: Tue, 20 Mar 2007 15:41:09 +0100

Ricky Sharp is correct that there is a recommended way for full screen
(SetSystemUIMode) instead of capturing the screen if you are not coding a
game. However to get your code working change the window level to
CGShieldingWindowLevel()

    [mainWindow setLevel: CGShieldingWindowLevel()];

Otherwise remove the capture code and replace with:

       //kUIOptionDisableProcessSwitch option for disabling command-tab
        SetSystemUIMode(kUIModeAllHidden, kUIOptionAutoShowMenuBar);

Relevant Apple guide:
http://developer.apple.com/technotes/tn2002/tn2062.html

Regards,
Conor
http://www.bruji.com/


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Prev by Date: Re: Non-ASCII Compiler Warning
  • Next by Date: Detecting when menubar is visible
  • Previous by thread: Re: Fullscreen Window
  • Next by thread: Fullscreen Window
  • Index(es):
    • Date
    • Thread