• 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
KeyDown Events in NSImageView Subclass?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Help me please to find a job in Cocoa
  • Next by Date: Re: "First Run" installation of Application support stuff?
  • Previous by thread: Can run on read only vol
  • Next by thread: RE: KeyDown Events in NSImageView Subclass?
  • Index(es):
    • Date
    • Thread