OlkCategory.MouseMove event (Outlook)

Occurs after a mouse movement has been registered over the control.

Syntax

expression.MouseMove (Button, Shift, x, y)

expression A variable that represents an OlkCategory object.

Parameters

Name Required/Optional Data type Description
Button Required Integer An OlMouseButton constant that specifies which button on the mouse has been pressed.
Shift Required Integer A bitwise-OR mask of constants in the OlShiftState enumeration that specifies whether the SHIFT, CTRL, or ALT keys have been pressed.
X Required [OLE_XPOS_CONTAINER] Identifies the location of the mouse cursor on the X-axis relative to the form.
Y Required [OLE_YPOS_CONTAINER] Identifies the location of the mouse cursor on the Y-axis relative to the form.

Remarks

Pressing the ALT key fires the MouseMove event.

See also

OlkCategory Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.