Re: NSSlider mouseUp ????
Re: NSSlider mouseUp ????
- Subject: Re: NSSlider mouseUp ????
- From: Scott Anguish <email@hidden>
- Date: Sat, 4 Mar 2006 07:10:06 -0500
On Mar 4, 2006, at 5:20 AM, Nik Youdale wrote:
Hi,
I was just playing around with an NSSlider. I want a sound to play
whilst the slider is sliding, and then stop when the slider has
stopped sliding. So I thought I would just play it in the mouseDown
event, and then stop it in the mouseUp event. But the mouseUp event
never fires!!!!!!!
NSSlider short circuits the event loop and handles all the drag
operation in the mouseDown: event?
You could try overriding mouseDown: and immediately calling the
superclass implementation, and then try playing the sound when it
returns.
How can i get some sort of notification that the slider has
finished sliding??!!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden