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

Re: nsbutton highlighting


  • Subject: Re: nsbutton highlighting
  • From: Francisco Tolmasky <email@hidden>
  • Date: Mon, 15 Mar 2004 17:22:22 -0800

The state does not tell you whether it is highlighted. State is it's state, highlight is whether someone is mousedowning on it. You know it gets darker when you press down, but if you move your mouse away while still down, it unhighlights.

On Mar 15, 2004, at 1:50 PM, Dustin Voss wrote:

On 15 Mar, 2004, at 3:00 AM, Francisco Tolmasky wrote:

Anyone know how to determine in an nsbutton subclass whether the button is highlighted? It seems to call its own functions so you can't use mouseEntered and mouseExited to determine whether it has left while still mouse downed.

What, [super state] doesn't work?


Francisco Tolmasky
email@hidden
http://www-scf.usc.edu/~tolmasky/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >nsbutton highlighting (From: Francisco Tolmasky <email@hidden>)
 >Re: nsbutton highlighting (From: Dustin Voss <email@hidden>)

  • Prev by Date: Re: Safely terminating a thread, or the dealloc that doesn't dealloc?
  • Next by Date: Re: nsbutton highlighting
  • Previous by thread: Re: nsbutton highlighting
  • Next by thread: Re: nsbutton highlighting
  • Index(es):
    • Date
    • Thread