• 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: "Kyle Sluder" <email@hidden>
  • Date: Tue, 18 Mar 2008 14:42:47 -0400

On Tue, Mar 18, 2008 at 2:25 PM, Daniel zeilMal <email@hidden> wrote:
> 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

Are you trying to use _NSGetCarbonMenu on Leopard?  If so, just go
with the NSView in NSMenu approach.  Leave _NSGetCarbonMenu for Tiger
only.  Since the symbol is still defined on Leopard (even though it's
giving you NULL) a simple if statement should suffice.

--Kyle Sluder
_______________________________________________

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: "Daniel zeilMal" <email@hidden>
References: 
 >Carbon Menu in Cocoa app (From: "cai qin" <email@hidden>)
 >Re: Carbon Menu in Cocoa app (From: Nick Zitzmann <email@hidden>)
 >Re: Carbon Menu in Cocoa app (From: "Daniel zeilMal" <email@hidden>)

  • Prev by Date: Re: NSTableView solution feedback and questions
  • Next by Date: Re: NSTableView solution feedback and questions
  • Previous by thread: Re: Carbon Menu in Cocoa app
  • Next by thread: Re: Carbon Menu in Cocoa app
  • Index(es):
    • Date
    • Thread