GoDiagram Web Reference
HandleScroll Method

Consider handling mouse events in the scroll margin.
Syntax
'Declaration
 
Protected Function HandleScroll( _
   ByVal downPt As Point, _
   ByVal upPt As Point, _
   ByVal control As Boolean, _
   ByVal shift As Boolean, _
   ByVal alt As Boolean _
) As Boolean
protected bool HandleScroll( 
   Point downPt,
   Point upPt,
   bool control,
   bool shift,
   bool alt
)

Parameters

downPt
upPt
control
shift
alt

Return Value

true to indicate that the event has been handled (by scrolling) and the standard mouse event processing should be skipped
Remarks
If the downPt and upPt both occur in the scroll margin, and CanScroll in that direction is true, this method calls either ScrollLine or (if the shift key was held down) ScrollPage and then this method returns true. Holding down the control key causes the motion's distance to be multiplied by a factor of 10.
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

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback