Re: Mouse tracking under a transparent view still working
Re: Mouse tracking under a transparent view still working
- Subject: Re: Mouse tracking under a transparent view still working
- From: Markus Spoettl <email@hidden>
- Date: Sun, 11 Jan 2015 11:23:43 +0100
On 11/01/15 07:12, Navneet Kumar wrote:
So the mouse click etc are not passing through, but the hover button under it
still shows hovering effect by drawing the border.
You probably need to establish a tracking area on the view that is supposed to
absorb the mouse events. The reason is that -mouseMoved: events will not
automatically be called just by implementing the event method (unlike the other
mouse methods), you need a tracking area for that to work.
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
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