Ok, heb het gevonden:
maak een module en stop in de General declarations:
-----------------------------------------------------------
Type PointAPI
X As Long
Y As Long
End Type
Public Declare Function GetCursorPos Lib "user32" (lpPoint As PointAPI) As Long
Public Declare Function SetCursorPos Lib "user32" (ByVal X As Long, ByVal Y As Long) As Long
-----------------------------------------------------------
maak een Form, met 2 labels Label1 en Label2 en een Timer Timer1 (interval=1)
In de General Declarations van deze form:
Dim Pnt As PointAPI
-----------------------------------------------------------
Onder Timer1:
GetCursorPos Pnt
Form1.Label1 = Pnt.X
Form1.Label2 = Pnt.Y
-----------------------------------------------------------
Thats it and thats that!