Task

Get the current location of the mouse cursor relative to the active window.

Please specify if the window may be externally created.




MOUSE ON
 
WHILE 1
  m=MOUSE(0)
  PRINT MOUSE(1),MOUSE(2)
WEND