Forum



visual basic hilfe
6 replies



windows.forms.mouse.position = new Point (x,y)
irg wie so

wozu überhaupt?

Du willst doch wohl nicht etwa ...
Das geht mit diesem Code:
1
Public Declare Function SetCursorPos Lib "user32" (ByVal X As Long, ByVal Y As Long) As Long
somit wurde diese Funktion erst mal "freigeschalten".
Dann brauchst du nur noch diesen Code:
1
Call SetCursorPos(X, Y) 'Bei X, Y setzt du einfach deine Koordianten ein in Pixel.
Ich hoffe ich konnte dir helfen.



