• 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: All documents are responding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: All documents are responding


  • Subject: Re: All documents are responding
  • From: Larry Fransson <email@hidden>
  • Date: Sun, 21 Nov 2004 15:11:23 -0800


On Nov 20, 2004, at 17:09, Michael Hanna wrote:

<x-tad-smaller>in my document-based app, I've subclass the NSTextView so that I can grab keyboard and mouse events, however, the events are responded to in all open documents.

how do I ensure only the active document responds?
</x-tad-smaller>

Check to see if the window is key before responding to an event.

Larry Fransson
Seattle, WA
 _______________________________________________
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: 
 >All documents are responding (From: Michael Hanna <email@hidden>)

  • Prev by Date: Re: Wake up the machine with a timer
  • Next by Date: Re: Wake up the machine with a timer
  • Previous by thread: All documents are responding
  • Next by thread: Custom table header scroll-bar bug
  • Index(es):
    • Date
    • Thread