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 PROTECTED]>: > > > 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]