Re: keyEventWithType
Re: keyEventWithType
- Subject: Re: keyEventWithType
- From: Steve Mills <email@hidden>
- Date: Sun, 25 Aug 2002 20:59:56 -0500
on 08/25/2002 20:35, Steve Mills at email@hidden wrote:
>
NSEvent ev = [NSEvent keyEventWithType: NSKeyDown windowNumber: 0
>
context: [NSGraphicsContext currentContext] modifierFlags: 0 characters: cr
>
charactersIgnoringModifiers: cr isARepeat: NO keyCode: 27 timestamp:
>
tv.tv_sec + (tv.tv_usec / 1000000.0) location: pt];
Oops, that should be an NSEvent* as the data type. I tried that and id. Both
generate same warnings and exception.
Steve Mills
Drummer, Mac geek Armpit Studios X
http://sjmills5.home.mchsi.com/ Shorewood, MN
______________________________________________________________________
It's starting to smell a little like danger in here... or heavily
fried food.
--The Tick
_______________________________________________
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.