• 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's mouseDown,mouseUp,mouseDrag - process separately
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSlider's mouseDown,mouseUp,mouseDrag - process separately


  • Subject: Re: NSSlider's mouseDown,mouseUp,mouseDrag - process separately
  • From: Nick <email@hidden>
  • Date: Wed, 18 May 2011 14:20:43 +0300

>
> You could probably use [NSApp currentEvent] from the slider's action.

thanks, i will try

>
> But why do you need this? The idea of a control is to abstract basic mouse gestures/events and turn them into a higher-level meaning within your app. Doing different things according to how the slider was clicked is going to act weirdly for the user.

mostly because i want the slider to control QTMovie - when it's
clicked, the playback stops, and the displayed  frame jumps to the
position when the slider was clicked. When it's dragged, the displayed
frame changes accordingly. When the "knob" is released, the playback
resumes.
_______________________________________________

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

References: 
 >NSSlider's mouseDown,mouseUp,mouseDrag - process separately (From: Nick <email@hidden>)
 >Re: NSSlider's mouseDown,mouseUp,mouseDrag - process separately (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSSlider's mouseDown,mouseUp,mouseDrag - process separately
  • Next by Date: Re: NSSlider's mouseDown,mouseUp,mouseDrag - process separately
  • Previous by thread: Re: NSSlider's mouseDown,mouseUp,mouseDrag - process separately
  • Next by thread: Re: NSSlider's mouseDown,mouseUp,mouseDrag - process separately
  • Index(es):
    • Date
    • Thread