Re: Click-through
Re: Click-through
- Subject: Re: Click-through
- From: Markus Spoettl <email@hidden>
- Date: Sat, 25 Mar 2017 19:18:26 +0100
On 25/03/17 18:54, Daryle Walker wrote:
Is there any way to disable click through? On a toolbar control or otherwise. Through an Interface Builder setting or otherwise.
Depends on your needs, really but programmatically if you have a custom view
class you can overwrite -mouseDown: and -mouseUp: and not call super.
That's simple and effective but may not work for you, for example if you have a
view that depends on/uses mouse interaction, where you can't just kill all mouse
events.
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