• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Francisco Tolmasky <email@hidden>
  • Date: Tue, 16 Mar 2004 03:18:22 -0800

Yes, I did, that's where I got "stopTracking:... etc.". Anyways, if anyone is interested, the solution is completely rewriting trackMouse:inRect;ofView:untilMouseup: yourself, since it in fact does not call stopTracking:...

On Mar 15, 2004, at 11:19 PM, Louis C. Sacha wrote:

Hello...

You may want to read the documentation for some of the other NSCell methods for "Tracking the mouse", specifically

- trackMouse:inRect:ofView:untilMouseUp:
+ prefersTrackingUntilMouseUp


Hope that helps,

Louis


Does NSButtonCell not call stopTracking:at:inView:mouseIsUp:? I'm trying to write a button that has a special look when it experiences a roll over (i think there is some sample code for this too if anyone has it, part of adc tips maybe?). ANyways, I have it almost completely working, except when someone holds down, and drags away, in which case mouseExited is NOT called because the control's cell, NSButtonCell, has intercepted all these events. So I said, I'll just subclass the cell class as well to let me know, but apparently it does not respond to stopTracking:at:inView:mouseIsUp:, so is this proper, and secondly, how can I get around this?

Francisco Tolmasky
email@hidden
http://www-scf.usc.edu/~tolmasky/



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.


  • Prev by Date: New Font Panel ??
  • Next by Date: Re: Adding NSLog() changes behavior
  • Previous by thread: (no subject)
  • Next by thread: Calling tableView:setObjectValue directly...
  • Index(es):
    • Date
    • Thread