enableMouseMoveEvents

Enable or disable mouse movement events when no button is pressed.
[read/write property] enableMouseMoveEvents([out, retval] VARIANT_BOOL *on) enableMouseMoveEvents([in] VARIANT_BOOL on)
This property enables or disables mouse movement events (see MouseMove2) when no mouse button is pressed.

The enableMouseBtnEvents and enableMouseMoveEvents properties are a finer-grained version of enableMouseEvents (which enables/disables events for all mouse buttons).

For control over mouse wheel events, see enableMouseWheelEvents.

VB6:
viewer.enableMouseMoveEvents = True
MouseDown2
MouseUp2
MouseDoubleClick2
MouseMove2
enableMouseEvents
enableMouseBtnEvents
enableMouseWheelEvents