2009/7/8 李剑 <jasonlee1...@hotmail.com>:
> 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 (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to