• 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: NSMenu menuBarHeight is 0?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMenu menuBarHeight is 0?


  • Subject: Re: NSMenu menuBarHeight is 0?
  • From: Ken Ferry <email@hidden>
  • Date: Mon, 24 Oct 2005 13:25:50 -0700

On 10/24/05, Jonathan del Strother <email@hidden> wrote:
> I'm trying to find the menu bar height, by calling [[[NSApplication
> sharedApplication] mainMenu] menuBarHeight].  It's returning 0.
>
> Any suggestions why menuBarHeight is giving me the wrong value?

It's a bug.  No need to file in this case.

Perhaps -[NSScreen visibleFrame] would apply to your situation?

--
Ken Ferry
Cocoa Frameworks
 _______________________________________________
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: 
 >NSMenu menuBarHeight is 0? (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: Re: [ANN] Coalescing undo in Cocoa
  • Next by Date: Calling GetCurrentEventKeyModifiers in a Cocoa app
  • Previous by thread: Re: NSMenu menuBarHeight is 0?
  • Next by thread: DoubleClick and Bindings in an NSTableView (Pre 10.4)
  • Index(es):
    • Date
    • Thread