• 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
more NSEvent stuff
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

more NSEvent stuff


  • Subject: more NSEvent stuff
  • From: David Cairns <email@hidden>
  • Date: Sun, 4 May 2003 22:51:16 -0400

thanx for the response to my last post! now my question is, how do i capture left and right arrow keys being pressed?
clearly this does not work:

- (void)keyDown:(NSEvent *)theEvent
{

if([[theEvent characters] isEqualToString:[[NSNumber numberWithInt:NSRightArrowFunctionKey] stringValue]]) {
// do stuff
}
}

anyone out there know the answer (rhetorical)

-- dave out, yo.
_______________________________________________
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.

  • Follow-Ups:
    • Re: more NSEvent stuff
      • From: Henry McGilton <email@hidden>
    • Re: more NSEvent stuff
      • From: j o a r <email@hidden>
  • Prev by Date: Update tool tip
  • Next by Date: NSFormatter Handling BackSpace and Delete
  • Previous by thread: Re: Update tool tip
  • Next by thread: Re: more NSEvent stuff
  • Index(es):
    • Date
    • Thread