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




On 27 Mar 2007, at 5:42 PM, Daniel Jalkut wrote:

Hopefully you stumbled on the answer since posting this several days ago. You want to look at the "canBecomeKeyView" method.

Daniel

Hmmm...

I put this in my view's @implementation:

- (BOOL)canBecomeKeyView{
	return NO;	
}

But it did not help. My view still grabs the keyboard. Apple's Cocoa plug-ins and also Carbon plug-ins do not do so... Did I put it in the right place? Or is there anything I need to look into?


Thanks very much again,

Artemiy.

_______________________________________________

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: 
 >making a custom view not grab the keyboard (From: Artemiy Pavlov <email@hidden>)
 >Re: making a custom view not grab the keyboard (From: Daniel Jalkut <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.