Re: Send click to window
Re: Send click to window
- Subject: Re: Send click to window
- From: Dave Keck <email@hidden>
- Date: Thu, 9 Apr 2009 13:00:37 -1000
> There are actually 2 NSEvent methods that aren't in my local docs here at
> work, but are in the headers and on developer.apple.com:
>
> + (NSEvent *)eventWithCGEvent:(CGEventRef)cgEvent;
> - (CGEventRef)CGEvent;
Woops :) That could be why I wasn't able to send click events to other
apps' windows. For some reason I read NSEvent's -eventRef as returning
a CGEvent, rather than an 'EventRef'.
I'll modify my test app and see if I can't get click events working.
I'll keep y'all posted.
David
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden