• 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: NSSlider Mouse Up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSSlider Mouse Up
      • From: Kyle Sluder <email@hidden>
References: 
 >Re: NSSlider Mouse Up (From: Ken Ferry <email@hidden>)
 >Re: NSSlider Mouse Up (From: email@hidden)

  • Prev by Date: Re: NSSlider Mouse Up
  • Next by Date: Re: Core data - binding related problem in NSNumberFormatter and NSDatePicker
  • Previous by thread: Re: NSSlider Mouse Up
  • Next by thread: Re: NSSlider Mouse Up
  • Index(es):
    • Date
    • Thread