Compartir a través de


OlkCommandButton.MouseDown Event (Outlook)

Occurs when the user presses a mouse button on the control.

Version Information

Version Added: Outlook 2007

Syntax

expression .MouseDown(Button, Shift, X, Y)

expression A variable that represents an OlkCommandButton 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.

See Also

Concepts

OlkCommandButton Object Members

OlkCommandButton Object