Re: NSSlider Mouse Up
Re: NSSlider Mouse Up
- Subject: Re: NSSlider Mouse Up
- From: Fritz Anderson <email@hidden>
- Date: Thu, 16 Dec 2010 17:34:55 -0600
I'm at the airport and without access to the documentation, but I doubt that Cocoa promises that NSSlider will always be implemented in terms of a Carbon button. I think you've stumbled on an undocumented technique that accidentally happens to work.
Take the advice about the performSelector: family to heart. It's a very useful technique, and worth learning.
― F
On Dec 16, 2010, at 5:24 PM, email@hidden wrote:
> After posting I found a Carbon function GetCurrentButtonState;
> I call this in my slider action method and if the mouse is up I do my clean up and return otherwise I do the live slider action.
> Seems to work just fine.
_______________________________________________
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