Northwoods.Go Assembly > Northwoods.Go Namespace > GoView Class : DoAutoScroll Method |
As soon ComputeAutoScrollDocPosition returns a new DocPosition value, this method starts a Timer
that waits for AutoScrollDelay milliseconds. After waiting, it repeatedly sets DocPosition to the latest ComputeAutoScrollDocPosition value, until the position does not change (presumably because the LastInput's view point is no longer in the autoscroll margin). Setting this view's DocPosition occurs each AutoScrollTime milliseconds.
This method is normally called by those tools that want to support auto-scrolling during a mouse move, such as GoToolDragging.DoMouseMove or GoToolLinking.DoMouseMove. The timer is stopped when the mouse leaves this view.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2