• 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: Capturing slider movement in NSSlider
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Capturing slider movement in NSSlider (From: Louis Sinclair <email@hidden>)

  • Prev by Date: Re: passing reference to reference to variable from ObjC++ to method of C++ class
  • Next by Date: Re: Changing font size
  • Previous by thread: Re: Capturing slider movement in NSSlider
  • Next by thread: Re: Capturing slider movement in NSSlider
  • Index(es):
    • Date
    • Thread