• 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: cocoa in carbon keyboard focus?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cocoa in carbon keyboard focus?


  • Subject: Re: cocoa in carbon keyboard focus?
  • From: Finlay Dobbie <email@hidden>
  • Date: Sun, 9 Oct 2005 11:34:17 +0100

On 05/10/05, Bob Sabiston <email@hidden> wrote:
> Hello,
>    I've got a Cocoa window that I open up within my Carbon
> application.  The Cocoa window is intercepting my keyboard events--is
> there any way to tell it not to do that?  I don't need to use the
> keyboard for the Cocoa window.  I want all the keyboard events to be
> intercepted by my Carbon event handlers.

I think you should be able to avoid this if you override
-(BOOL)canBecomeKeyWindow to always return NO.

 -- Finlay
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >cocoa in carbon keyboard focus? (From: Bob Sabiston <email@hidden>)

  • Prev by Date: Re: Can I create a Cocoa palette based on Carbon?
  • Next by Date: Setting the Desktop Background: Sample Not Working?
  • Previous by thread: cocoa in carbon keyboard focus?
  • Next by thread: NSButtonCell subclass that ignores events
  • Index(es):
    • Date
    • Thread