Difference between revisions of "HoldMouseMid"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure HoldMouseMid(x, y: Integer); </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Holds the middle mo...")
(No difference)

Revision as of 17:51, 3 July 2011

Definition

procedure HoldMouseMid(x, y: Integer);

Availability

SCAR Divi 3.00 > Current

Description

Holds the middle mouse button at the specified coordinate (x, y) relative to the selected client window. In the event that the current cursor position does not equal that of the given coordinates, the function will call MoveMouse to set the cursor position to the given coordinate.

Example

begin
  HoldMouseMid(500, 500);
  Wait(100);
  ReleaseMouseMid(500, 500);
end.

See Also