• 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
Getting NSScroller to respond to mouseUp: method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting NSScroller to respond to mouseUp: method


  • Subject: Getting NSScroller to respond to mouseUp: method
  • From: "Joseph M Striedl" <email@hidden>
  • Date: Mon, 22 Nov 2004 21:46:12 -0600
  • Importance: Normal

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


 _______________________________________________
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

  • Prev by Date: Re: [SOLVED] Newbie, regarding retain count and program flow
  • Next by Date: Check if a file is an alias
  • Previous by thread: Re: [SOLVED] Newbie, regarding retain count and program flow
  • Next by thread: Check if a file is an alias
  • Index(es):
    • Date
    • Thread