• 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
slow autoscroll near edge of screen
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

slow autoscroll near edge of screen


  • Subject: slow autoscroll near edge of screen
  • From: "Simon Strandgaard" <email@hidden>
  • Date: Wed, 11 Oct 2006 03:26:16 +0200

I have a custom nsview inside a nsscrollview. I deal with dragndrop
inside mouseDragged. When dragging things over long distances then
I call [self autoscroll: event]; so that the scrollview follows the
cursor.

This works well for me, when there is ~60 pixels space around the
nsscrollview. If there is too little space between my window-edge
and the screen-edge, then it scrolls too slow to be useful.


How does one get faster scrolling when there is no room between the nsscrollview and the screen-edge ?

Is it possible to continue reading the delta-movement, when the
mouse has reached the screen-edge ?



--
Simon Strandgaard
_______________________________________________
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


  • Follow-Ups:
    • Re: slow autoscroll near edge of screen
      • From: "Simon Strandgaard" <email@hidden>
  • Prev by Date: Re: how to set url type in launchservices.plist
  • Next by Date: NSSearchField and Core Data Problem
  • Previous by thread: Re: Double-click and drag word in NSTextView
  • Next by thread: Re: slow autoscroll near edge of screen
  • Index(es):
    • Date
    • Thread