Hem / Tips & tricks
Option ExplicitDim z As POINTAPI 'Declare variablePrivate Sub Timer1_Timer()GetCursorPos z 'Get Co-ordinetsLabel1 = "x: " & z.x 'Get x co-ordinetsLabel2 = "y: " & z.y 'Get y co-ordinetsEnd Sub