• 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: Problem in simulating the events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem in simulating the events


  • Subject: Re: Problem in simulating the events
  • From: Eric Schlegel <email@hidden>
  • Date: Wed, 21 Jun 2006 08:39:01 -0700


On Jun 21, 2006, at 7:58 AM, Gurmit Teotia wrote:

As a workaround to above problem I'm planning not to give the click facility to remote user on the menu of my application. To implement the above technique I need to know the height of menu bar. I found two methods:
1. [NSMenuView menuBarHeight];
2. [[NSApp mainMenu] menuBarHeight];


First method is deprecated in 10.4 while second method is always returning 0.0. From list I found that second method has some bug. My application will be compatible from 10.2. Can some one suggest a solution to get the height of menu bar? I cann't hide the menu bar/ dock bar in my application.

You should be able to use GetMBarHeight from HIToolbox/Menus.h.

-eric



_______________________________________________
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: 
 >Re: Problem in simulating the events (From: Mike Paquette <email@hidden>)
 >Re: Problem in simulating the events (From: "Gurmit Teotia" <email@hidden>)
 >Re: Problem in simulating the events (From: Pablo Pons Bordes <email@hidden>)
 >Re: Problem in simulating the events (From: "Gurmit Teotia" <email@hidden>)
 >Re: Problem in simulating the events (From: Pablo Pons Bordes <email@hidden>)
 >Re: Problem in simulating the events (From: "Gurmit Teotia" <email@hidden>)
 >Re: Problem in simulating the events (From: Pablo Pons Bordes <email@hidden>)
 >Re: Problem in simulating the events (From: Joe Baskerville <email@hidden>)
 >Re: Problem in simulating the events (From: "Gurmit Teotia" <email@hidden>)
 >Re: Problem in simulating the events (From: "Gurmit Teotia" <email@hidden>)

  • Prev by Date: Unique data in Core Data?
  • Next by Date: Re: Problem in simulating the events
  • Previous by thread: Re: Problem in simulating the events
  • Next by thread: Re: Problem in simulating the events
  • Index(es):
    • Date
    • Thread