making a Cocoa view not grab the keyboard
making a Cocoa view not grab the keyboard
- Subject: making a Cocoa view not grab the keyboard
- From: Artemiy Pavlov <email@hidden>
- Date: Tue, 27 Mar 2007 22:51:38 +0300
Hello all!
I have a plug-in that uses a Cocoa view. In hosts like GarageBand and
Logic, the view grabs the keyboard, so you need to click on the host
window to be able to control it with the keyboard. However,
Apple's Cocoa plugins that seem to be also using Cocoa view do not
grab the keyboard.
I've done some reading an I added the following to my view's
@implementation:
- (BOOL)canBecomeKeyView{
return NO;
}
- (BOOL) acceptsFirstResponder{
return NO;
}
However, my view still grabs the keyboard.
Can anyone please suggest me where to look?
Thanks very much,
Artemiy.
_______________________________________________
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