• 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
Re: Send click to window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Send click to window
      • From: Dave Keck <email@hidden>
References: 
 >Send click to window (From: Benjamin Mollenhauer <email@hidden>)
 >Re: Send click to window (From: Dave Keck <email@hidden>)
 >Re: Send click to window (From: Nate Weaver <email@hidden>)

  • Prev by Date: Re: Change view on resize
  • Next by Date: Re: Setting Min, MAx and range of characters for NSTextField
  • Previous by thread: Re: Send click to window
  • Next by thread: Re: Send click to window
  • Index(es):
    • Date
    • Thread