Re: Menu Bar App: [NSStatusItem popUpStatusItem] : Menu shows popupmenu too high
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