Does anyone know which of these are quicker?
procedure SetMousePos(Point: TPoint);
begin
Mouse.CursorPos := Point;
end;
function GetMousePos: TPoint;
begin
Result := Mouse.CursorPos;
end;
procedure SetMousePos(Point: TPoint);
begin
SetCursorPos(Point.X, Point.Y);
end;
function GetMousePos: TPoint;
begin
GetCursorPos(Result);
end;