• 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: NSMenu to Carbon MenuRef
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMenu to Carbon MenuRef


  • Subject: Re: NSMenu to Carbon MenuRef
  • From: Finlay Dobbie <email@hidden>
  • Date: Fri, 17 May 2002 07:42:18 +0100

On Friday, May 17, 2002, at 07:22 AM, Ruben Smits wrote:

I had a problem that looks the same. My problem was that I needed a window reference in Carbon, from NSWindow. Take a look at the documentation of windowRef in NSWindow. As I understand, it will be nil, unless you initialized the NSWindow using initWithWindowRef.
Maybe this is the same problem as yours?

I don't think so. NSMenus are actually implemented using Carbon, whereas NSWindows aren't (unless you -initWithWindowRef, in which case you're getting an NSCarbonWindow or something, I think). I don't know why the function wasn't working, though.

-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NSMenu to Carbon MenuRef (From: Ruben Smits <email@hidden>)

  • Prev by Date: Re: NSMenu to Carbon MenuRef
  • Next by Date: Re: Changing the Text Color of an NSMenuItem in an NSPopUpButton?
  • Previous by thread: Re: NSMenu to Carbon MenuRef
  • Next by thread: Splitter Views
  • Index(es):
    • Date
    • Thread