Re: NSSlider's mouseDown,mouseUp,mouseDrag - process separately
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