Re: NSMenu to Carbon MenuRef
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.