Microsoft DirectX 9.0

MouseMove Event

This topic applies to Windows XP only.

The MouseMove event is called by the MSVidCtl object when the user moves the mouse pointer over the Video Control.

Syntax

object_MouseMove(
    Button As Integer, 
    Shift As Integer, 
    x As Single, 
    y As Single)

Parameters

  Button

Specifies the mouse button, if any, that was pressed when the mouse move occurred.

  Shift

Specifies whether the shift key was pressed.

  x

Specifies the x-position in pixels at the time the event was fired.

  y

Specifies the y-position in pixels at the time the event was fired.

Remarks

See the KeyDown event for possible values for Shift. See the MouseDown event for the possible values of Button.

See Also