Definition at line 119 of file Win32.cs.
◆ MouseEventFlags
enum BioCore.MouseOperations.MouseEventFlags |
◆ GetCursorPosition()
static MousePoint BioCore.MouseOperations.GetCursorPosition |
( |
| ) |
|
|
static |
Get the current mouse position, if it fails, return a point of 0,0
- Returns
- A MousePoint object.
Definition at line 223 of file Win32.cs.
◆ LeftClick()
static void BioCore.MouseOperations.LeftClick |
( |
| ) |
|
|
static |
It sends a message to the operating system that the left mouse button has been pressed and released
Definition at line 170 of file Win32.cs.
◆ LeftDown()
static void BioCore.MouseOperations.LeftDown |
( |
| ) |
|
|
static |
The function takes the mouse event flag and calls the mouse event function.
Definition at line 181 of file Win32.cs.
◆ LeftUp()
static void BioCore.MouseOperations.LeftUp |
( |
| ) |
|
|
static |
◆ MouseEvent()
static void BioCore.MouseOperations.MouseEvent |
( |
MouseEventFlags |
value | ) |
|
|
static |
It takes a MouseEventFlags enum value and calls the mouse_event function with the current cursor position
- Parameters
-
MouseEventFlags | This is the type of mouse event you want to simulate. |
Definition at line 235 of file Win32.cs.
◆ RightClick()
static void BioCore.MouseOperations.RightClick |
( |
| ) |
|
|
static |
◆ RightDown()
static void BioCore.MouseOperations.RightDown |
( |
| ) |
|
|
static |
It sends a message to the operating system that the right mouse button has been pressed.
Definition at line 186 of file Win32.cs.
◆ RightUp()
static void BioCore.MouseOperations.RightUp |
( |
| ) |
|
|
static |
◆ SetCursorPosition() [1/2]
static void BioCore.MouseOperations.SetCursorPosition |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
static |
SetCursorPos(x, y);
- Parameters
-
x | The x coordinate of the cursor. |
y | The y coordinate of the cursor. |
Definition at line 206 of file Win32.cs.
◆ SetCursorPosition() [2/2]
static void BioCore.MouseOperations.SetCursorPosition |
( |
MousePoint |
point | ) |
|
|
static |
It takes a MousePoint object, which contains an X and Y coordinate, and sets the cursor position to that point
- Parameters
-
MousePoint | A struct that contains the X and Y coordinates of the mouse. |
Definition at line 215 of file Win32.cs.
The documentation for this class was generated from the following file: