• 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
NSView -scrollPoint doesn't work with mouse wheel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSView -scrollPoint doesn't work with mouse wheel?


  • Subject: NSView -scrollPoint doesn't work with mouse wheel?
  • From: Allen Dang <email@hidden>
  • Date: Mon, 31 Dec 2007 23:28:36 +0800

Hi,

I scrolled one NSScrollView programmatically like following:

NSPoint newPosition = NSMakePoint(0.0, 100.0);
[[scrollView documentView] scrollPoint:newPosition];

Ok, the scrollView did scroll to the new position, then I tried to continuously scroll down by using the mouse wheel, but the NSScrollView didn't work as I expected.
It will return to the the point(0.0, 0.0) at first and start to scroll down rather then keep scrolling from point(0.0, 100.0).


What's happening? It drives me crazy....

Allen Dang
email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSView -scrollPoint doesn't work with mouse wheel?
      • From: Bill Bumgarner <email@hidden>
  • Prev by Date: Re: Bindings: NSArrayController <> Shared User Defaults
  • Next by Date: Replacements for Depracated NSIsSymbolNameDefined(), NSLookupAndBindSymbol()
  • Previous by thread: Re: Subclassing NSManagedObject
  • Next by thread: Re: NSView -scrollPoint doesn't work with mouse wheel?
  • Index(es):
    • Date
    • Thread