Re: slow autoscroll near edge of screen
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