• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: making a custom view not grab the keyboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: making a custom view not grab the keyboard
      • From: Daniel Jalkut <email@hidden>
References: 
 >Re: making a custom view not grab the keyboard (From: "E. Wing" <email@hidden>)

  • Prev by Date: Re: Proper Way to "Unload" a Loaded Nib w/Bindings
  • Next by Date: Re: Proper Way to "Unload" a Loaded Nib w/Bindings
  • Previous by thread: Re: making a custom view not grab the keyboard
  • Next by thread: Re: making a custom view not grab the keyboard
  • Index(es):
    • Date
    • Thread