Hi all, I am having some troubles and I wanted to shoot a question off and
see if anyone could offer some wisdom.
I am attempting to get a subclassed NSScroller to respond to mouseUp:
method. When overriding the default behaviour for mouseDown: (by tossing an
NSLog entry in to let me know it's been called then and calling [super
mouseDown:theEvent]) it works just fine, but the instance does not seem to
respond to mouseUp: at all... (which according to my logic, it should as it
inherits from NSResponder...right?)
I did notice that NSControl overrides mouseDown: but does not include any
reference to mouseUp: would this level of inheritence remove the
functionality/presence of NSResponder's inhereted mouseUp: method?
Just to provide some scenery... The app I am building requires thumbnail
previews of images and currently bogs down quite a bit when dealing with a
large number of images (1000+). The reason that I am trying to get
NSScroller to respond to mouseUp: is to defer some of the repetitive and
expensive drawing operations performed on a subclassed NSMatrix of
NSImageCells in a subclassed NSScrollView, until after the user releases the
scroll knob.
Does anybody know what I am overlooking in regards to mouseUp: ?
Thanks in advance,
Joe Striedl