• 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: USE keyevents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USE keyevents


  • Subject: Re: USE keyevents
  • From: Brendan Younger <email@hidden>
  • Date: Fri, 14 Sep 2001 20:03:07 -0400

On Friday, September 14, 2001, at 05:55 PM, email@hidden wrote:

ok I want to do key events but i can't get it to work
how do I do it from start to end?-hyperzoanoid

First, it would be nice if you specified a *bit* more precisely what you need help on. At least try something and then ask why it doesn't work. Really, that's how we *all* learned this stuff.
Getting key events is very much dependent on the notion of first responder. You should read the NSResponder class docs religiously, as well as "OpenStep Tools and Techniques" it's path is /Developer/Documentation/Cocoa/DevEnvGuide/Book/Tools&TechniquesBook.pdf there's a *very* good summary on page 87 (or 89 depending on what you pay attention to, Acrobat or the pdf itself).
Next, since you now know all there is to know about first responders, you can "do key events" to your heart's content. (Hint: implement -keyDown:)

Brendan Younger


References: 
 >USE keyevents (From: email@hidden)

  • Prev by Date: Re: Determinate NSProgressIndicator without animation?
  • Next by Date: Re: Determinate NSProgressIndicator without animation?
  • Previous by thread: USE keyevents
  • Next by thread: Making Cocoa Framework calls from Carbon app.
  • Index(es):
    • Date
    • Thread