• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Carbon Menu in Cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Carbon Menu in Cocoa app
      • From: "Kyle Sluder" <email@hidden>
References: 
 >Carbon Menu in Cocoa app (From: "cai qin" <email@hidden>)
 >Re: Carbon Menu in Cocoa app (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Getting notifications when any file in a folder change
  • Next by Date: Re: Best way to execute a shell script from a cocoa application
  • Previous by thread: Re: Carbon Menu in Cocoa app
  • Next by thread: Re: Carbon Menu in Cocoa app
  • Index(es):
    • Date
    • Thread