AxHost.RaiseOnMouseDown 方法

定义

引发 MouseDown 事件。

重载

RaiseOnMouseDown(Int16, Int16, Int32, Int32)

使用指定的 32 位带符号整数引发 MouseDown 事件。

RaiseOnMouseDown(Int16, Int16, Single, Single)

使用指定的单精度浮点数引发 MouseDown 事件。

RaiseOnMouseDown(Object, Object, Object, Object)

使用指定的对象引发 MouseDown 事件。

RaiseOnMouseDown(Int16, Int16, Int32, Int32)

使用指定的 32 位带符号整数引发 MouseDown 事件。

protected:
 void RaiseOnMouseDown(short button, short shift, int x, int y);
protected void RaiseOnMouseDown (short button, short shift, int x, int y);
member this.RaiseOnMouseDown : int16 * int16 * int * int -> unit
Protected Sub RaiseOnMouseDown (button As Short, shift As Short, x As Integer, y As Integer)

参数

button
Int16

MouseButtons 值之一,指示按下的鼠标按钮。

shift
Int16

未使用。

x
Int32

鼠标单击的 x 坐标(以像素为单位)。

y
Int32

鼠标单击的 y 坐标(以像素为单位)。

适用于

RaiseOnMouseDown(Int16, Int16, Single, Single)

使用指定的单精度浮点数引发 MouseDown 事件。

protected:
 void RaiseOnMouseDown(short button, short shift, float x, float y);
protected void RaiseOnMouseDown (short button, short shift, float x, float y);
member this.RaiseOnMouseDown : int16 * int16 * single * single -> unit
Protected Sub RaiseOnMouseDown (button As Short, shift As Short, x As Single, y As Single)

参数

button
Int16

MouseButtons 值之一,指示按下的鼠标按钮。

shift
Int16

未使用。

x
Single

鼠标单击的 x 坐标(以像素为单位)。

y
Single

鼠标单击的 y 坐标(以像素为单位)。

适用于

RaiseOnMouseDown(Object, Object, Object, Object)

使用指定的对象引发 MouseDown 事件。

protected:
 void RaiseOnMouseDown(System::Object ^ o1, System::Object ^ o2, System::Object ^ o3, System::Object ^ o4);
protected void RaiseOnMouseDown (object o1, object o2, object o3, object o4);
member this.RaiseOnMouseDown : obj * obj * obj * obj -> unit
Protected Sub RaiseOnMouseDown (o1 As Object, o2 As Object, o3 As Object, o4 As Object)

参数

o1
Object

MouseButtons 值之一,指示按下的鼠标按钮。

o2
Object

未使用。

o3
Object

鼠标单击的 x 坐标(以像素为单位)。

o4
Object

鼠标单击的 y 坐标(以像素为单位)。

适用于