• 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 21:11:10 +0300


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:
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>)

  • Prev by Date: Re: MultiplePageView & Printing
  • Next by Date: Core data store's as a document file format
  • 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