Muokkaa

Jaa


AxHost.RaiseOnMouseDown Method

Definition

Raises the MouseDown event.

Overloads

RaiseOnMouseDown(Int16, Int16, Int32, Int32)

Raises the MouseDown event using the specified 32-bit signed integers.

RaiseOnMouseDown(Int16, Int16, Single, Single)

Raises the MouseDown event using the specified single-precision floating-point numbers.

RaiseOnMouseDown(Object, Object, Object, Object)

Raises the MouseDown event using the specified objects.

RaiseOnMouseDown(Int16, Int16, Int32, Int32)

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)

Parameters

button
Int16

One of the MouseButtons values that indicate which mouse button was pressed.

shift
Int16

Not used.

x
Int32

The x-coordinate of a mouse click, in pixels.

y
Int32

The y-coordinate of a mouse click, in pixels.

Applies to

RaiseOnMouseDown(Int16, Int16, Single, Single)

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)

Parameters

button
Int16

One of the MouseButtons values that indicate which mouse button was pressed.

shift
Int16

Not used.

x
Single

The x-coordinate of a mouse click, in pixels.

y
Single

The y-coordinate of a mouse click, in pixels.

Applies to

RaiseOnMouseDown(Object, Object, Object, Object)

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)

Parameters

o1
Object

One of the MouseButtons values that indicate which mouse button was pressed.

o2
Object

Not used.

o3
Object

The x-coordinate of a mouse click, in pixels.

o4
Object

The y-coordinate of a mouse click, in pixels.

Applies to