• 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: Overlapping NSViews and mouseDown Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Overlapping NSViews and mouseDown Events
      • From: Graham Cox <email@hidden>
References: 
 >Overlapping NSViews and mouseDown Events (From: Thomas Wetmore <email@hidden>)

  • Prev by Date: Re: Overlapping NSViews and mouseDown Events
  • Next by Date: Re: Overlapping NSViews and mouseDown Events
  • Previous by thread: Re: Overlapping NSViews and mouseDown Events
  • Next by thread: Re: Overlapping NSViews and mouseDown Events
  • Index(es):
    • Date
    • Thread