GetMousePos

From SCAR Divi Manual
Revision as of 11:36, 26 June 2011 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

procedure GetMousePos(var x, y: Integer);

Availability

SCAR Divi 3.00 > Current

Description

This function gets the cursor position relative to the selected client window and returns it in x and y.

Example

var
  x, y: Integer;

begin
  GetMousePos(x, y);
  WriteLn('The current Mouse position is ' + IntToStr(x) + ', ' + IntToStr(y));
end.

See Also