Re: cocoa in carbon keyboard focus?
Re: cocoa in carbon keyboard focus?
- Subject: Re: cocoa in carbon keyboard focus?
- From: Finlay Dobbie <email@hidden>
- Date: Sun, 9 Oct 2005 11:34:17 +0100
On 05/10/05, Bob Sabiston <email@hidden> wrote:
> Hello,
> I've got a Cocoa window that I open up within my Carbon
> application. The Cocoa window is intercepting my keyboard events--is
> there any way to tell it not to do that? I don't need to use the
> keyboard for the Cocoa window. I want all the keyboard events to be
> intercepted by my Carbon event handlers.
I think you should be able to avoid this if you override
-(BOOL)canBecomeKeyWindow to always return NO.
-- Finlay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden