Re: performClose for carbon window?
Re: performClose for carbon window?
- Subject: Re: performClose for carbon window?
- From: Sam McCandlish <email@hidden>
- Date: Tue, 8 Jun 2004 06:40:56 -0400
Maybe it would be better if you created the NSWindow first from a nib
(so cocoa could initialize it) then took the windowRef from it:
WindowRef carbonWindowRef = [someIBOutletToAWindow windowRef];
Then Cocoa would be the one to initialize it and everything might work
better...
On Jun 8, 2004, at 4:35 AM, m wrote:
When I call performClose: for an NSWindow that has a carbon based
window ref, the window doesn't close and the app just beeps.
I am creating the NSWindow like this:
WindowRef carbonWindowRef = [self loadCarbonWindowFromNib];
NSWindow* carbonBasedCocoaWindow = [[NSWindow alloc] initWithRef:
carbonWindowRef];
How can I get it to work?
_murat
_______________________________________________
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.
_______________________________________________
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.