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

Re: slow autoscroll near edge of screen


  • Subject: Re: slow autoscroll near edge of screen
  • From: "Simon Strandgaard" <email@hidden>
  • Date: Wed, 11 Oct 2006 15:04:36 +0200

On 10/11/06, Simon Strandgaard <email@hidden> wrote:
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 ?

Take a look at OmniGraffle it does almost gets it right. When their scrollview is near the edge then it seems to be using delta-movements even though the mouse cannot move more.

I have been going through most of the applications in my app folder.
My issue seems also to be the issue for most of the programs I have installed.
For instance take a look at GarageBand.



Any ideas on how to read relative-mouse-movements?

--
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>
References: 
 >slow autoscroll near edge of screen (From: "Simon Strandgaard" <email@hidden>)

  • Prev by Date: Catching URL links from PDFView
  • Next by Date: Re: Working on the NSTableView
  • Previous by thread: slow autoscroll near edge of screen
  • Next by thread: Re: slow autoscroll near edge of screen
  • Index(es):
    • Date
    • Thread