• 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
highlight a nsview on click-drag?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

highlight a nsview on click-drag?


  • Subject: highlight a nsview on click-drag?
  • From: "Patrick J. Collins" <email@hidden>
  • Date: Sat, 14 Mar 2015 09:44:52 -0700 (PDT)

I have a NSView with a background image, and am wondering, what is the
best / easiest way to create the behavior so that if I click on a point
within this NSView and drag a direction, the click point to the current
mouse position would then be highlighted (inverse the colors of the
image for that rect)?  Is there anything built-in that does this for me?


Patrick J. Collins
http://collinatorstudios.com

_______________________________________________

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: highlight a nsview on click-drag?
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Full-screen mode broken after upgrading to Yosemite
  • Next by Date: Re: Trying to hide a NSProgressIndicator upon finishing of table rendering
  • Previous by thread: Decompile compiled storyboard / xib files?
  • Next by thread: Re: highlight a nsview on click-drag?
  • Index(es):
    • Date
    • Thread