UtilMouseSendMouseButton(IntPtr, MouseButton, Point) Method

Sends a mouse button click to the specified coordinates on the specified window.

Definition

Namespace: DevCase.Core.IO.Devices.Input
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool SendMouseButton(
	IntPtr hWnd,
	MouseButton button,
	Point pt
)

Parameters

hWnd  IntPtr
A handle to the target window.
button  MouseButton
The mouse button to simulate.
pt  Point
The mouse coordinates within the client area of the window.

Return Value

Boolean
if the function succeeds; otherwise, .

See Also