• 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
NSCell:trackMouse always calls setNextState, why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSCell:trackMouse always calls setNextState, why?


  • Subject: NSCell:trackMouse always calls setNextState, why?
  • From: "T vH" <email@hidden>
  • Date: Mon, 7 Aug 2006 13:49:14 +0200

I'm having a little problem with the default implementation of NSCells'
trackMouse:inRect:ofView:untilMouseUp:

Besides the documented
-startTrackingAt:inView:
-continueTracking:at:inView:
-stopTracking:at:inView:mouseIsUp:

methods it also seems to invoke setNextState.

While this seems useful it is also called if the mouse was dragged
outside the control before mouse up and usually no state change should
happen than.

While there are various possibilities to block setNextState I'm
wondering how this is meant to be used to your advantage.
Thx, Tim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Core data search and spotlight importer question
  • Next by Date: Context menu over WebView always showing up in bottom left corner of screen
  • Previous by thread: Re: Core data search and spotlight importer question
  • Next by thread: Context menu over WebView always showing up in bottom left corner of screen
  • Index(es):
    • Date
    • Thread