• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to hide/display titlebar?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >how to hide/display titlebar? (From: 李剑 <email@hidden>)

  • Prev by Date: Re: How to write ipeg image created with CGImageRef?
  • Next by Date: Re: how to hide/display titlebar?
  • Previous by thread: how to hide/display titlebar?
  • Next by thread: Re: how to hide/display titlebar?
  • Index(es):
    • Date
    • Thread