OlkSenderPhoto.MouseDown event (Outlook)
Occurs when the user presses a mouse button on the control.
Syntax
expression.MouseDown (Button, Shift, x, y)
expression A variable that represents an OlkSenderPhoto 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
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.