• 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 get the Window Title Bar height?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get the Window Title Bar height?


  • Subject: Re: How to get the Window Title Bar height?
  • From: Stephane Sudre <email@hidden>
  • Date: Mon, 3 Oct 2005 17:35:27 +0200


On 3 oct. 05, at 17:12, j o a r wrote:


On 3 okt 2005, at 16.53, Stephane Sudre wrote:

Is there a way in Cocoa to know the height of a window title bar (and preferably the height for a standard NSWindow)?

You can probably use this method to find out:

+[NSWindow frameRectForContentRect:styleMask:]

That's what was suggested in an off-list reply and I think it can be a solution worth implementing using a NSWindow category.



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >How to get the Window Title Bar height? (From: Stephane Sudre <email@hidden>)
 >Re: How to get the Window Title Bar height? (From: j o a r <email@hidden>)

  • Prev by Date: NSMutableArray/NSTableView/NSArrayController problems...
  • Next by Date: PerlObjCBridge: calls to NSMakeSize_ (and NSMakeRect_) not working?
  • Previous by thread: Re: How to get the Window Title Bar height?
  • Next by thread: NSMutableArray/NSTableView/NSArrayController problems...
  • Index(es):
    • Date
    • Thread