OverviewExamples
tMousePos = System.GetMousePosition(true);
tPageSize = {W=640,H=480};
if tMousePos.X < 0 or tMousePos.X > tPageSize.W then
-- Mouse is outside the left or right side of the page
end
if tMousePos.Y < 0 or tMousePos.Y > tPageSize.H then
-- Mouse is outside the top or bottom side of the page
end
Determines if the mouse cursor is outside the bounds of the page.
tMousePos = System.GetMousePosition(true,DialogEx.GetWndHandle());
Label.SetText("Label1", tMousePos.X.." , "..tMousePos.Y);
Updates a label object on a dialog with the current mouse position coordinates.
See also: Related Actions