共用方式為


OlkCategory.MouseMove Event (Outlook)

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

Version Information

Version Added: Outlook 2007

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

Concepts

OlkCategory Object

OlkCategory Object Members