Re: Capturing slider movement in NSSlider
Re: Capturing slider movement in NSSlider
- Subject: Re: Capturing slider movement in NSSlider
- From: Cameron Hayne <email@hidden>
- Date: Thu, 11 Dec 2003 09:43:38 -0500
On 12/9/03 5:04 PM, "Louis Sinclair" <email@hidden> wrote:
>
My situation was that I had a timer that I expected to work while the
>
slider was being dragged. I'm playing audio in one thread, and am
>
using the timer to update meters and monitor changes in a volume
>
slider. No timer events happen while the mouse is dragging the
>
control.
You need to use NSEventTrackingRunLoopMode when registering the timer.
See my example project "ImageCalc":
http://hayne.net/MacDev/ImageCalc/
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.