Search
FlowChart.MouseWheel Event
See Also
 



Raised when the mouse wheel is rotated.

 Syntax

VB6  Copy Code

Public Event MouseWheel

 Event Data

Parameter

Type

Description

delta

[input] short

The distance the wheel is rotated.

keys

[input] short

Indicates whether various virtual keys are down.

docX

[input] long

The x coordinate of the document point under the mouse cursor.

docY

[input] long

The y coordinate of the document point under the mouse cursor.

Dispatch ID: 51

 Remarks

Raised when the mouse wheel is rotated. delta is the distance the wheel is rotated, expressed in multiples or divisions of 120. A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user. The mouse pointer position in document coordinates is passed through the docX and docY parameters.

By default, the mouse wheel scrolls the view. Set MouseWheelAction to None if you need to implement custom interaction from MouseWheel handler.

 See Also