GoDiagram Win Reference
DoAutoScroll Method

the current mouse point, in view coordinates
Start or continue automatically scrolling the view during a mouse drag.
Syntax
'Declaration
 
Public Overridable Sub DoAutoScroll( _
   ByVal viewPnt As Point _
) 
public virtual void DoAutoScroll( 
   Point viewPnt
)

Parameters

viewPnt
the current mouse point, in view coordinates
Remarks

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.

Requirements

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

See Also

Reference

GoView Class
GoView Members
DoAutoPan Method
StopAutoScroll Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback