• 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: Solved Re: Fullscreen window after hiding Dock works in 10.4 but not 10.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solved Re: Fullscreen window after hiding Dock works in 10.4 but not 10.3


  • Subject: Re: Solved Re: Fullscreen window after hiding Dock works in 10.4 but not 10.3
  • From: Robert MacGregor <email@hidden>
  • Date: Thu, 4 Aug 2005 16:21:19 -0400


On 3-Aug-05, at 6:48 PM, Ricky Sharp wrote:

Good call Ricky; your solution is less effort to code.

Rob



On Aug 3, 2005, at 2:12 PM, Robert MacGregor wrote:


1) Insert LSUIPresentationMode = 3 into info.plist
2) override - (NSRect)windowWillUseStandardFrame:(NSWindow *) sender defaultFrame:(NSRect)defaultFrame in your window's delegate
3) override - (void)applicationDidBecomeActive:(NSNotification *) aNotification in your app's delegate


Note: Info.plist directives are completely processed when an app receives it's NSApplicationDidBecomeActiveNotification.


This seems to be a bit more work than needed.

Just use SetSystemUIMode upon startup. Then, to create a full- screen window for a given NSScreen (theScreen):

NSWindow* theWindow = [[NSWindow alloc] initWithContentRect: [theScreen frame] styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO];

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Solved Re: Fullscreen window after hiding Dock works in 10.4 but not 10.3 (From: Robert MacGregor <email@hidden>)
 >Re: Solved Re: Fullscreen window after hiding Dock works in 10.4 but not 10.3 (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: Need CVS Advice
  • Next by Date: Where does NSTableView get a cell's size from, if not from cellSize?
  • Previous by thread: Re: Solved Re: Fullscreen window after hiding Dock works in 10.4 but not 10.3
  • Next by thread: Re: Random number generator
  • Index(es):
    • Date
    • Thread