AxHost.RaiseOnMouseDown AxHost.RaiseOnMouseDown AxHost.RaiseOnMouseDown AxHost.RaiseOnMouseDown Method

定义

引发 MouseDown 事件。Raises the MouseDown event.

重载

RaiseOnMouseDown(Int16, Int16, Int32, Int32) RaiseOnMouseDown(Int16, Int16, Int32, Int32) RaiseOnMouseDown(Int16, Int16, Int32, Int32) RaiseOnMouseDown(Int16, Int16, Int32, Int32)

使用指定的 32 位带符号整数引发 MouseDown 事件。Raises the MouseDown event using the specified 32-bit signed integers.

RaiseOnMouseDown(Int16, Int16, Single, Single) RaiseOnMouseDown(Int16, Int16, Single, Single) RaiseOnMouseDown(Int16, Int16, Single, Single) RaiseOnMouseDown(Int16, Int16, Single, Single)

使用指定的单精度浮点数引发 MouseDown 事件。Raises the MouseDown event using the specified single-precision floating-point numbers.

RaiseOnMouseDown(Object, Object, Object, Object) RaiseOnMouseDown(Object, Object, Object, Object) RaiseOnMouseDown(Object, Object, Object, Object) RaiseOnMouseDown(Object, Object, Object, Object)

使用指定的对象引发 MouseDown 事件。Raises the MouseDown event using the specified objects.

RaiseOnMouseDown(Int16, Int16, Int32, Int32) RaiseOnMouseDown(Int16, Int16, Int32, Int32) RaiseOnMouseDown(Int16, Int16, Int32, Int32) RaiseOnMouseDown(Int16, Int16, Int32, Int32)

使用指定的 32 位带符号整数引发 MouseDown 事件。Raises the MouseDown event using the specified 32-bit signed integers.

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 Int16 Int16 Int16

MouseButtons 值之一,指示按下的鼠标按钮。One of the MouseButtons values that indicate which mouse button was pressed.

shift
Int16 Int16 Int16 Int16

未使用。Not used.

x
Int32 Int32 Int32 Int32

鼠标单击的 x 坐标(以像素为单位)。The x-coordinate of a mouse click, in pixels.

y
Int32 Int32 Int32 Int32

鼠标单击的 y 坐标(以像素为单位)。The y-coordinate of a mouse click, in pixels.

RaiseOnMouseDown(Int16, Int16, Single, Single) RaiseOnMouseDown(Int16, Int16, Single, Single) RaiseOnMouseDown(Int16, Int16, Single, Single) RaiseOnMouseDown(Int16, Int16, Single, Single)

使用指定的单精度浮点数引发 MouseDown 事件。Raises the MouseDown event using the specified single-precision floating-point numbers.

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 Int16 Int16 Int16

MouseButtons 值之一,指示按下的鼠标按钮。One of the MouseButtons values that indicate which mouse button was pressed.

shift
Int16 Int16 Int16 Int16

未使用。Not used.

x
Single Single Single Single

鼠标单击的 x 坐标(以像素为单位)。The x-coordinate of a mouse click, in pixels.

y
Single Single Single Single

鼠标单击的 y 坐标(以像素为单位)。The y-coordinate of a mouse click, in pixels.

RaiseOnMouseDown(Object, Object, Object, Object) RaiseOnMouseDown(Object, Object, Object, Object) RaiseOnMouseDown(Object, Object, Object, Object) RaiseOnMouseDown(Object, Object, Object, Object)

使用指定的对象引发 MouseDown 事件。Raises the MouseDown event using the specified objects.

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 Object Object Object

MouseButtons 值之一,指示按下的鼠标按钮。One of the MouseButtons values that indicate which mouse button was pressed.

o2
Object Object Object Object

未使用。Not used.

o3
Object Object Object Object

鼠标单击的 x 坐标(以像素为单位)。The x-coordinate of a mouse click, in pixels.

o4
Object Object Object Object

鼠标单击的 y 坐标(以像素为单位)。The y-coordinate of a mouse click, in pixels.

适用于