[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DEFINE MOUSE WINDOW FROM

Description:
This command defines the boundaries of free movement of the mouse cursor.
The default mouse window area is from 0.0 to 24,79.

Syntax:
DEFINE MOUSE WINDOW FROM <Pos1_a>,<Pos1_b> TO <Pos2_a>,<Pos2_b>

Arguments:
  <Pos1_a> is the upper left x screen coordinate from 0 to 24.
  <Pos1_b> is the upper left y screen coordinate from 0 to 79.
  <Pos2_a> is the lower right x screen coordinate from 0 to 24.
  <Pos2_b> is the lower right y screen coordinate from 0 to 79.

Example:
DEFINE MOUSE WINDOW FROM ;                // set the mouse movement area
  05,02 TO 10,57

         Purpose: Define the free movement of the mouse
 Mapped Function: __DefineMouseWindow() contained in GLLIBR.PRG.
   dGE functions: msetwin()
   Other GL UDFs: __XdGE(),__YdGE(),__XdGE(),__YdGE()
System variables: None.
System constants: None.

See Also:

See Also: __DefineMouseWindow()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson