• 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: Constraining a NSSlider to Certain Values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Constraining a NSSlider to Certain Values


  • Subject: Re: Constraining a NSSlider to Certain Values
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Tue, 8 Apr 2008 09:00:32 +0200


Le 8 avr. 08 à 05:28, Peter Zegelin a écrit :


I have managed to get my slider working the way I want it to by overriding mousedown and mousedragged, however there is still one small detail. I cant see how to make the slider knob show its 'pushed' image while the slider is being dragged. Does anyone know how to do this?


thanks!

Peter

I'm not sure but maybe -[NSCell setHighlighted:] will help you. If it does not work, have a look at -[NSCell setState:]

That's probably one of this two properties that control the cell apparence.

_______________________________________________

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: Constraining a NSSlider to Certain Values
      • From: Peter Zegelin <email@hidden>
References: 
 >Constraining a NSSlider to Certain Values (From: Peter Zegelin <email@hidden>)
 >Re: Constraining a NSSlider to Certain Values (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Constraining a NSSlider to Certain Values (From: Peter Zegelin <email@hidden>)
 >Re: Constraining a NSSlider to Certain Values (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Constraining a NSSlider to Certain Values (From: Peter Zegelin <email@hidden>)
 >Re: Constraining a NSSlider to Certain Values (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Constraining a NSSlider to Certain Values (From: Peter Zegelin <email@hidden>)
 >Re: Constraining a NSSlider to Certain Values (From: Peter Zegelin <email@hidden>)

  • Prev by Date: Re: alBufferData, void * data
  • Next by Date: Re: NSUndoManager grouping somewhat broken?
  • Previous by thread: Re: Constraining a NSSlider to Certain Values
  • Next by thread: Re: Constraining a NSSlider to Certain Values
  • Index(es):
    • Date
    • Thread