語言

AxHost.RaiseOnMouseDown 方法

定義

引發 MouseDown 事件。

多載

名稱 Description
RaiseOnMouseDown(Int16, Int16, Int32, Int32)

使用指定的 32 位元有號整數來 MouseDown 引發事件。

RaiseOnMouseDown(Int16, Int16, Single, Single)

使用指定的單精度浮點數來 MouseDown 觸發事件。

RaiseOnMouseDown(Object, Object, Object, Object)

利用指定的物件來 MouseDown 觸發事件。

RaiseOnMouseDown(Int16, Int16, Int32, Int32)

來源:
AxHost.cs
來源:
AxHost.cs
來源:
AxHost.cs
來源:
AxHost.cs
來源:
AxHost.cs

使用指定的 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)

來源:
AxHost.cs
來源:
AxHost.cs
來源:
AxHost.cs
來源:
AxHost.cs
來源:
AxHost.cs

使用指定的單精度浮點數來 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)

來源:
AxHost.cs
來源:
AxHost.cs
來源:
AxHost.cs
來源:
AxHost.cs
來源:
AxHost.cs

利用指定的物件來 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 座標,以像素為單位。

適用於