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 protected]>
To: Carlo Gulliani <[email protected]>
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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to