This chapter describes function related to mouse and screen. Most of mouse operations require that you give screen coordinates so I decided to describe screen and mouse functions together.
Converts the client-area coordinates of a specified point to screen coordinates.
Retrieves the cursor's position, in screen coordinates.
Retrieves a height and width of a screen in pixels.
Allows one to easily interact with an application through mouse emulation.
Move the mouse cursor to given coordinates. Coordinates are are calculated against top-left corner of the screen (0,0) and are given in pixels.
Emulate mouse wheel movement.
Converts normalized coordinates to coordinates in pixels.
Converts the screen coordinates of a specified point on the screen to client-area coordinates
Returns normalized coordinates of given point (0-FFFF as a fraction of screen resolution)
Simulates that the left mouse button is down in the current location of mouse pointer.
Simulates that the left mouse button is up in the current location of mouse pointer.
Simulates that the middle mouse button is down in the current location of mouse pointer.
Simulates that the middle mouse button is up in the current location of mouse pointer.
Emulates mouse input.
Moves a mouse cursor on the screen. Coordinates are relative to the last reported (current) position.
Moves a mouse cursor on the screen. Coordinates are relative to the upper left corner of the screen i.e. are absolute.
Simulates that the right mouse button is down in the current location of mouse pointer.
Simulates that the right mouse button is up in the current location of mouse pointer.
Retrieves a handle to the window that contains the specified point.