Applies to: Panel control, HotButton
control, DirectionalButton
control
See also: MouseEnter event, MouseLeave
event - Panel, MouseLeave event - HotButton and DirectionalButton,
Event Index
Occurs when the mouse pointer moves, whilst over the subclassed window.
Syntax:
Private
Sub object_MouseMove(ByVal Shift As Boolean, ByVal Control As Boolean, ByVal X As Long, ByVal Y As
Long)
The MouseMove event syntax has these parts:
Part |
Description |
object |
The name of an object in the Applies to list. If object is
a SubClasser object, then the object must be declared using WithEvents. |
Shift |
A boolean value indicating the state of the Shift key. A value of
True indicates that one or both Shift keys are down. |
Control |
A boolean value indicating the state of the Control key. A value
of True indicates that one or both Control keys are down |
x |
The x coordinate (in pixels) of the mouse pointer. |
y |
The y coordinate (in pixels) of the mouse pointer. |
|