Difference between revisions of "MouseBtnDown"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> procedure HoldMouse(x, y: Integer; Left: Boolean); </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Holds a...") |
|||
Line 22: | Line 22: | ||
*[[ReleaseMouse]] | *[[ReleaseMouse]] | ||
*[[ClickMouse]] | *[[ClickMouse]] | ||
+ | *[[HoldMouseMid]] | ||
*[[MoveMouse]] | *[[MoveMouse]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Mouse Functions]] | [[Category:Mouse Functions]] |
Revision as of 16:07, 3 July 2011
Definition
procedure HoldMouse(x, y: Integer; Left: Boolean);
Availability
SCAR Divi 3.00 > Current
Description
Holds a mouse button at the specified coordinate (x, y) relative to the selected client window. If Left is true, the left button will be held, if Left is false the right button will be held. 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 HoldMouse(500, 500, False); Wait(100); ReleaseMouse(500, 500, False); end.