Re: USE keyevents
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