more NSEvent stuff
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.