Re: change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how?
Re: change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how?
- Subject: Re: change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how?
- From: Carlo Gulliani <email@hidden>
- Date: Thu, 29 Jan 2009 12:35:13 -0800 (PST)
ohhhhh, i don't know what to do,
i wrote so:
NSView *view = [self contentView];
NSDictionary*opts = [NSDictionarydictionaryWithObjectsAndKeys:[NSNumbernumberWithBool:YES], NSFullScreenModeAllScreens, nil];
[selffadeOut];
[selfmakeFirstResponder: self];
if([view isInFullScreenMode]) [view exitFullScreenModeWithOptions:opts];
else
{
[view enterFullScreenMode:[selfscreen] withOptions:opts];
}
[selffadeIn];
and i haven't result again:(
________________________________
From: douglas welton <email@hidden>
To: Carlo Gulliani <email@hidden>
Sent: Thursday, January 29, 2009 11:13:46 PM
Subject: Re: change NSBorderlessWindowMask on NSTitledWindowMask when app is launch. how?
I use -enterFullScreenMode: in several of my application. Because first responder status can change, I make sure that I call [targetWindow makeFirstResponder: targetView] immediately before I set targetView to be fullscreen.
_______________________________________________
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