Re: making a custom view not grab the keyboard
Re: making a custom view not grab the keyboard
- Subject: Re: making a custom view not grab the keyboard
- From: Artemiy Pavlov <email@hidden>
- Date: Tue, 27 Mar 2007 22:11:16 +0300
Hello Eric,
yes I have:
- (BOOL)canBecomeKeyView{
return NO;
}
- (BOOL) acceptsFirstResponder{
return NO;
}
But it doesn't work.
I wonder how Apple are doing this. On of their demo plug-ins sets
this to YES by the way, but all their bundled AU plug-ins do not grab
the keyboard like mine does (all Cocoa view do that by default).
Thanks very much,
Artemiy.
On 27 Mar 2007, at 9:23 PM, E. Wing wrote:
Will adding this to your view class help?
- (BOOL) acceptsFirstResponder
{
return NO;
}
-Eric
________
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden