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: Dan Stenning <email@hidden>
- Date: Sat, 13 Jun 2015 21:24:30 +0100
- Importance: Normal
thanks for the reply but i’m afraid that suggestion didn’t work either :(
// [pimpl->getView() setMenu:pimpl->theMenu];
[pimpl->statusItem setMenu:pimpl->theMenu];
PS - I have a screenshot i could provide but does this apple mailing list email server filter jpegs or png’s out ?
Dan
> Subject: Re: Menu Bar App: [NSStatusItem popUpStatusItem] : Menu shows popupmenu too high
> From: email@hidden
> 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.
>
>
> 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
_______________________________________________
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