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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/jsbache%40adobe.com

This email sent to [email protected]


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to