Re: NSView clicking through to superview
Re: NSView clicking through to superview
- Subject: Re: NSView clicking through to superview
- From: PCWiz <email@hidden>
- Date: Mon, 28 Sep 2009 19:55:28 -0600
Tried this earlier but it had no effect...
On 2009-09-28, at 7:57 AM, Jesper Storm Bache wrote:
Return "self" from hitTest inside your overlay view.
Jesper
On Sep 27, 2009, at 7:36 PM, PCWiz wrote:
Hi,
I have a transparent black NSView that I layer over my window using
NSView's addSubview method. This works fine, but I want to make it so
that all clicks are captured by the NSView, because right now I can
click through to the superview underneath. I've already tried
returning NO for acceptsFirstMouse and it has no effect.
Thanks
_______________________________________________
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
_______________________________________________
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