KeyDown Events in NSImageView Subclass?
KeyDown Events in NSImageView Subclass?
- Subject: KeyDown Events in NSImageView Subclass?
- From: Richard Jackson <email@hidden>
- Date: Mon, 16 Dec 2002 12:46:56 -0800
I have a subclass of NSImageView where I would like to receive KeyDown
events (I want to be able to use the "arrow" keys to move a cursor around my
image). I've overridden acceptsFirstResponder: to return YES - and I see it
get called, but I never get keyDown messages (instead I get a "purr" sound
when I press a key, which I assume means "nobody home"...?). I've tried
making myImageView "first responder", but still no luck.
Can NSImageViews (or their subclasses) be made to receive keyDown events?
If so, can anyone give me a clue?
TIA,
- Richard Jackson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.