• 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: Menu Bar App: [NSStatusItem popUpStatusItem] : Menu shows popupmenu too high
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menu Bar App: [NSStatusItem popUpStatusItem] : Menu shows popupmenu too high


  • Subject: Re: Menu Bar App: [NSStatusItem popUpStatusItem] : Menu shows popupmenu too high
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 12 Jun 2015 19:30:41 -0700

> On 2015 Jun 12, at 14:22, Dan Stenning <email@hidden> wrote:
>
> here is the code in question:

Hello, Dan.

>    [pimpl->getView() setMenu:pimpl->theMenu];

It looks like you’re setting your menu into some kind of view.  In contrast, I set it into my status item.  Paraphrasing my code,

     [statusItem setMenu:menu] ;

That might be the problem.

* * *

Also, the plethora of ->, and direct access of instance variables in your post may have discouraged many people from it.  I’m kind of numb to it because I’m currently working on a large project which was started by recovering C++ guys  :))
_______________________________________________

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


  • Follow-Ups:
    • RE: Menu Bar App: [NSStatusItem popUpStatusItem] : Menu shows popupmenu too high
      • From: Dan Stenning <email@hidden>
References: 
 >Menu Bar App: [NSStatusItem popUpStatusItem] : Menu shows popupmenu too high (From: Dan Stenning <email@hidden>)

  • Prev by Date: Re: Language options: Objective-C, Swift, C or C++?
  • Next by Date: Re: Language options: Objective-C, Swift, C or C++?
  • Previous by thread: Menu Bar App: [NSStatusItem popUpStatusItem] : Menu shows popupmenu too high
  • Next by thread: RE: Menu Bar App: [NSStatusItem popUpStatusItem] : Menu shows popupmenu too high
  • Index(es):
    • Date
    • Thread