Re: Handling right click only
Re: Handling right click only
- Subject: Re: Handling right click only
- From: Guy English <email@hidden>
- Date: Tue, 14 Dec 2004 11:23:19 -0500
On Tue, 14 Dec 2004 14:19:59 +0100, Alexander Griekspoor
<email@hidden> wrote:
> Unfortunately that doesn't work. The moment I set the window to ignore
> the mouse events, the app won't even be called
I think you're out of luck here. As far as I know once the app has
accepted an event that's it - it doesn't pass it back to the window
server.
On the other hand you can try this: when you get your left mouse
event, flag something in your app so that it returns YES to
ignoresMouseEvents, and post a fake event using CGPostMouseEvent.
That'll add an event back into the stream and (hopefully) this time
you'll ignore it and it'll go to the next app.
See:
http://developer.apple.com/documentation/GraphicsImaging/Reference/Quartz_Services_Ref/index.html
For details on core graphics remote operation.
Hope that helps a little,
Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden