Get the current mouse state of a specified window.
Declaration Syntax
C# |
public static MouseState GetMouseState( IntPtr handle )
Parameters
- handle (IntPtr)
- Handle to the window
Return Value
MouseState struct
Exceptions
Exception | Condition |
---|---|
TeslaException | Thrown if an IMouseProvider is not a registered service. |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)