OlkTextBox.MouseMove 事件 (Outlook)OlkTextBox.MouseMove Event (Outlook)

在控件上出现鼠标移动后发生。Occurs after a mouse movement has been registered over the control.

语法Syntax

expressionexpression. MouseMove( _Button_ , _Shift_ , _X_ , _Y_ )

_表达式_一个代表OlkTextBox对象的变量。expression A variable that represents an OlkTextBox object.

参数Parameters

名称Name 必需/可选Required/Optional 数据类型Data type 说明Description
ButtonButton 必需Required IntegerInteger 一个**OlMouseButton** 常量,指定按下鼠标的哪个按钮。An OlMouseButton constant that specifies which button on the mouse has been pressed.
ShiftShift 必需Required IntegerInteger 指定是否已按下了SHIFTCTRLALT键**OlShiftState** 枚举中常量的按位或掩码。A bitwise-OR mask of constants in the OlShiftState enumeration that specifies whether the SHIFT, CTRL, or ALT keys have been pressed.
XX 必需Required [OLE_XPOS_CONTAINER][OLE_XPOS_CONTAINER] 标识鼠标光标在 X 轴上相对于窗体的位置。Identifies the location of the mouse cursor on the X-axis relative to the form.
YY 必需Required [OLE_YPOS_CONTAINER][OLE_YPOS_CONTAINER] 标识鼠标光标在 Y 轴上相对于窗体的位置。Identifies the location of the mouse cursor on the Y-axis relative to the form.

说明Remarks

ALT键可触发MouseMove事件。Pressing the ALT key fires the MouseMove event.

另请参阅See also

所示的对象OlkTextBox Object