• 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: Ricky Sharp <email@hidden>
  • Date: Wed, 3 Aug 2005 17:48:07 -0500


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


  • Follow-Ups:
    • Re: Solved Re: Fullscreen window after hiding Dock works in 10.4 but not 10.3
      • From: Robert MacGregor <email@hidden>
References: 
 >Solved Re: Fullscreen window after hiding Dock works in 10.4 but not 10.3 (From: Robert MacGregor <email@hidden>)

  • Prev by Date: Re: Faceless background agent application
  • Next by Date: Re: NSImage or NSBezierPath : what is the fastest ?
  • Previous by thread: Solved Re: Fullscreen window after hiding Dock works in 10.4 but not 10.3
  • Next by thread: Re: Solved Re: Fullscreen window after hiding Dock works in 10.4 but not 10.3
  • Index(es):
    • Date
    • Thread