• 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: Click-through
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Click-through
      • From: Quincey Morris <email@hidden>
References: 
 >Click-through (From: Daryle Walker <email@hidden>)

  • Prev by Date: Click-through
  • Next by Date: Re: Click-through
  • Previous by thread: Click-through
  • Next by thread: Re: Click-through
  • Index(es):
    • Date
    • Thread