NSSlider and mouseUp event
NSSlider and mouseUp event
- Subject: NSSlider and mouseUp event
- From: Christopher Sean Morrison <email@hidden>
- Date: Thu, 12 Dec 2002 18:31:55 -0500
I've been banging my head against the wall for a while now (which might be
the cause of my problem) and I cannot figure out how a simple way to
invoke some action when a user releases the mouse on a slider control.
I've subclassed NSSlider and overridden mouseUp, mouseDown, and
mouseDragged. If I override all three and print a log message, I get a
down and up event as expected, as well as my target action during drag.
If I allow mouseDown to perform a super mouseDown: event, then mouseUp: is
never called, though mouseDragged is continuously (default NSSlider
subclass).
My question is how can I get notification that the mouse was released? I
have to be missing something here -- I shouldn't need to reimplement the
entire mouseDown just to get a mouseUp. Help? Thanks in advance.
Cheers!
Sean
_______________________________________________
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.