Re: how to hide/display titlebar?
Re: how to hide/display titlebar?
- Subject: Re: how to hide/display titlebar?
- From: Kyle Sluder <email@hidden>
- Date: Fri, 10 Jul 2009 10:23:18 -0700
2009/7/8 李剑 <email@hidden>:
> how to hide/display titlebar of cocoa window?
You can't. You'll need to create a borderless window using
NSBorderlessWindowMask (which you can specify if you override
NSWindow's initializer). That means you'll *never* have a title bar.
> i hope the window can be show full size when playing vedio!
"Full size" meaning fullscreen? In that case, you don't need to make
the window borderless. You can send the view displaying your video
the -enterFullScreenMode:withOptions: message. (And then come back to
the list with any and all problems you may experience with this method
<grin>).
--Kyle Sluder
_______________________________________________
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