Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making a custom view not grab the keyboard



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: making a custom view not grab the keyboard (From: "E. Wing" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.