Re: dockMenu bug?
Re: dockMenu bug?
- Subject: Re: dockMenu bug?
- From: email@hidden
- Date: Sat, 3 May 2008 18:22:44 +0200
Thanks Jens. Sounds to me we don't need the quotation marks round "bug".
On Sat, May 3, 2008 at 5:46 PM, Jens Alfke <email@hidden> wrote:
>
> On 3 May '08, at 6:44 AM, email@hidden wrote:
>
>
> > I'm having this problem where I cannot hide menu items in my dock
> > menu. [menuItem setHidden:YES] does nothing, nor does checking the
> > "Hidden" checkbox in IB. The dock menu itself is created in IB and
> > connected to NSApp's dockMenu outlet. Is this a bug or am I missing
> > something?
> >
>
> "Bug", I guess; really, the dock menu doesn't support all the functionality
> of a real NSMenu, since it's implemented differently — the NSMenu object is
> just a proxy, and the actual menu is managed by the Dock process. (I believe
> the app sends IPC messages to the Dock process telling it what menu items to
> show, and the Dock sends back IPC messages when the user chooses an item.)
>
> —Jens
_______________________________________________
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