Düzenle

Aracılığıyla paylaş


OlkCommandButtonEvents_MouseDownEventHandler Delegate

Definition

This is a delegate for an event in the corresponding object. After implementing a callback method for the event, use this delegate to connect the callback method to the event. If there are multiple versions of the event interface, this delegate connects the callback method for the event in the specified version of Outlook.

public delegate void OlkCommandButtonEvents_MouseDownEventHandler(OlMouseButton Button, OlShiftState Shift, float X, float Y);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void OlkCommandButtonEvents_MouseDownEventHandler(OlMouseButton Button, OlShiftState Shift, float X, float Y);
Public Delegate Sub OlkCommandButtonEvents_MouseDownEventHandler(Button As OlMouseButton, Shift As OlShiftState, X As Single, Y As Single)

Parameters

Button
OlMouseButton

An OlMouseButton constant that specifies which button on the mouse has been pressed.

Shift
OlShiftState

A bitwise-OR mask of constants in the OlShiftState enumeration that specifies whether the SHIFT, CTRL, or ALT keys have been pressed.

X
Single

Identifies the location of the mouse cursor on the X-axis relative to the form.

Y
Single

Identifies the location of the mouse cursor on the Y-axis relative to the form.

Attributes

Applies to