NSSlider and mouse events
NSSlider and mouse events
- Subject: NSSlider and mouse events
- From: Louis Sinclair <email@hidden>
- Date: Thu, 03 Mar 2005 08:29:03 -0600
Hello,
I need to know when an NSSlider is being controlled by the user. I though
the simplest way would be to subclass NSSlider and override the mouseDown
and mouseUp methods. Unfortunately, only the mouseDown method is
called. Since NSSlider is a descendant of NSResponder, shouldn't it
receive the mouseUp notification? I'm also not getting mouseExited and
mouseEntered messages.
The docs talk about setting up a modal loop and a periodic event stream to
catch the other events. Unfortunately, that prevents the normal slider
operation to occur, and interrupts any other NSTimer events my main window
is expecting.
There must be a really simple way to accomplish this, but I'm not finding
it. Any ideas?
Thanks!
--
Louis Sinclair
_______________________________________________
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