Re: Overlapping NSViews and mouseDown Events
Re: Overlapping NSViews and mouseDown Events
- Subject: Re: Overlapping NSViews and mouseDown Events
- From: Thomas Wetmore <email@hidden>
- Date: Thu, 25 Jun 2015 00:08:44 -0400
> On Jun 24, 2015, at 8:44 PM, Thomas Wetmore <email@hidden> wrote:
>
> So I have a view in which one of the subviews seems to work fine with respect to mouse events, but the border subview around it seems to be invisible to the event system.
Experimentation has proven this statement incorrect. The border view is not invisible. When the window calls hitTest on the view the border view IS returned. However, the window choses to send the event to one of the other, lower in z-order, views.
It is hard to believe that I am not doing something stupid; I assume the quirks of dealing with overlapping views have long been ironed out.
Tom Wetmore
>
> How do I make the border areas visible to the window when it decides where to dispatch the mouse events? Does anyone have any advice? 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