Re: Solved Re: Fullscreen window after hiding Dock works in 10.4 but not 10.3
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