Re: Carbon Menu in Cocoa app
Re: Carbon Menu in Cocoa app
- Subject: Re: Carbon Menu in Cocoa app
- From: "Daniel zeilMal" <email@hidden>
- Date: Tue, 18 Mar 2008 11:25:02 -0700
I have a custom view . And I have drew something on this view . I want to
add a custom view to a menuItem . But this is not supported before Leopard .So
I'm going to ask help to carbon.
The main idea is that I get the menuRef from the [NSApp mainMenu] ,and then
draw something on that specific menuItem .
I want to keep the other menuitems handled by cocoa .Cause I have already
written a lot of menu responder message handling staff in cocoa.
2008/3/18, Nick Zitzmann <email@hidden>:
>
>
> On Mar 18, 2008, at 11:32 AM, cai qin wrote:
> > I have a cocoa app developed in Tiger . Is it possible that Using a
> > carbon
> > menuRef to get App 's mainMenu?
> > I have tried the MenuRef _NSGetCarbonMenu(NSMenu* aMenu); but my
> > menuRef
> > always gets 0x0.
> > Is this private API still available ?
>
>
>
> I don't think so; at least not anymore. What are you trying to
> accomplish?
>
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
>
_______________________________________________
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