Re: NSSlider Mouse Up
Re: NSSlider Mouse Up
- Subject: Re: NSSlider Mouse Up
- From: Kyle Sluder <email@hidden>
- Date: Thu, 16 Dec 2010 15:46:35 -0800
010/12/16 Fritz Anderson <email@hidden>:
> 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.
GetCurrentButtonState refers to the mouse buttons, not the button
itself. :) But, regardless…
> Take the advice about the performSelector: family to heart. It's a very useful technique, and worth learning.
Yes. Do this.
--Kyle Sluder
_______________________________________________
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