ImageMan ActiveX Control Version 8
MouseMove Event
See Also  Send comments on this topic.
Button
The state of the mouse buttons, in which a bit is set if the button is down. The Button argument is a bit field with bits corresponding to the left button (bit 0), right button (bit 1), and the middle button (bit 2) - values 1,2,4, respectively. All or some or none of these bits can be set.
Shift

Shift expresses the state of the Shift and Ctrl keys when the button was pressed. The Shift argument is a bit field with bits corresponding to the SHIFT key(bit 0), and the CTRL Key(bit 1) - values 1,2 respectively. One or both of the bits can be set indicating that one or both of the keys was pressed.

X
The current location of the mouse pointer expressed in terms of the coordinate system set by the ScaleHeight, ScaleWidth, ScaleLeft and ScaleTop properties of the object.
Y
The current location of the mouse pointer expressed in terms of the coordinate system set by the ScaleHeight, ScaleWidth, ScaleLeft and ScaleTop properties of the object.

Glossary Item Box

Description

Occurs when the user moves the mouse.

Syntax

Visual Basic
Public Event MouseMove( _
   ByVal Button As Integer, _
   ByVal Shift As Integer, _
   ByVal X As Single, _
   ByVal Y As Single _
)

Parameters

Button
The state of the mouse buttons, in which a bit is set if the button is down. The Button argument is a bit field with bits corresponding to the left button (bit 0), right button (bit 1), and the middle button (bit 2) - values 1,2,4, respectively. All or some or none of these bits can be set.
Shift

Shift expresses the state of the Shift and Ctrl keys when the button was pressed. The Shift argument is a bit field with bits corresponding to the SHIFT key(bit 0), and the CTRL Key(bit 1) - values 1,2 respectively. One or both of the bits can be set indicating that one or both of the keys was pressed.

X
The current location of the mouse pointer expressed in terms of the coordinate system set by the ScaleHeight, ScaleWidth, ScaleLeft and ScaleTop properties of the object.
Y
The current location of the mouse pointer expressed in terms of the coordinate system set by the ScaleHeight, ScaleWidth, ScaleLeft and ScaleTop properties of the object.

Remarks

If the Select property is set to TRUE(-1) then no MouseDown, MouseMove or MouseUp events will be generated for the left mouse button.

See Also

© 2014 Data Techniques Inc. All Rights Reserved.