Sort of OT: Closing Carbon-based view windows with the menu
Sort of OT: Closing Carbon-based view windows with the menu
- Subject: Sort of OT: Closing Carbon-based view windows with the menu
- From: Robert Grant <email@hidden>
- Date: Fri, 4 Mar 2005 15:41:02 -0500
A user just brought to my attention that Apple+W is not closing the AU
editor windows. Testing with Cocoa and Carbon AU views shows that it's
Carbon windows that are causing trouble. The Carbon in Cocoa docs imply
that there's nothing to do to support it and sure enough the sample app
happily closes the Cocoa'ized Carbon window. But in Rax I just get an
annoying beep. So it looks like the Responder chain is buggered
somewhere along the line.
My window is being managed by an NSWindowController - but adding that
to the document's window controllers doesn't help - and anyway if that
was the problem then Cocoa windows wouldn't close either (but they do).
I've tried subclassing NSWindow to try and see what's happening to the
event but wouldn't you know it initWithWindowRef is not supported for
subclasses!!!
(I know this is not directly CA related - but we do discuss GUI issues
here - and CA does make mixing Carbon and Cocoa pretty typical.)
Thanks for any suggestions,
Robert.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden