• 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: Detecting mouseover in an NSActionCell subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting mouseover in an NSActionCell subclass


  • Subject: Re: Detecting mouseover in an NSActionCell subclass
  • From: Randall Meadows <email@hidden>
  • Date: Mon, 12 Jan 2009 13:22:29 -0700

On Jan 12, 2009, at 12:56 PM, Jean-Nicolas Jolivet wrote:

I've got it all working at this point, the 2 buttons on the right are just NSImages and I'm using startTracking, continueTracking and stopTracking, with my buttons Rect, to detect if they were clicked on...

However, I was wondering if it's possible to track when the buttons are moused over so that I can display an alternative image? I've seen countless apps doing it... the best example I could give is Safari's Download window, where you have a little Magnifying glass icon on the right (The "Reveal in Finder" button)... this is exactly what I'm trying to achieve...

Check out the Photosearch sample code <http://developer.apple.com/samplecode/PhotoSearch/index.html >; it helped me figure this out when I needed to do mouse tracking in a table cell.
_______________________________________________


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: Detecting mouseover in an NSActionCell subclass
      • From: Jean-Nicolas Jolivet <email@hidden>
References: 
 >Detecting mouseover in an NSActionCell subclass (From: Jean-Nicolas Jolivet <email@hidden>)

  • Prev by Date: Re: Disabled button looks like enabled
  • Next by Date: Re: Disabled button looks like enabled
  • Previous by thread: Detecting mouseover in an NSActionCell subclass
  • Next by thread: Re: Detecting mouseover in an NSActionCell subclass
  • Index(es):
    • Date
    • Thread