Autor Beitrag
Dookie
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17



BeitragVerfasst: So 09.02.03 20:13 
Kann mir jemand sagen, wie ich ganz einfach die Maussteuerung mit meinem Delphi-Programm übernehmen kann? Das heißt, mein Programm soll folgendes können: Die Koordinaten und Mausklicks abfangen und die Koordinaten und Mausklicks verändern/simulieren!

Das mit den Koordinaten ist schon gelöst, funktioniert super mit
ausblenden Quelltext
1:
Mouse.CursorPos.x/y					

und
ausblenden Quelltext
1:
SetCursorPos(x/y)					

aber wie bekomme ich die Mausklicks nun abgefragt und simuliert?

Bitte helft mir... :!:

Moderiert von user profile iconTino: Code-Tags hinzugefügt.

_________________
There are 10 kind of people => Those who understand binary, and those who don't!! =;o)
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 09.02.03 20:59 
Da wirst du wohl einen Mouse-Hook bemühen müssen. Soll doch systemweit sein oder? Hier www.assarbad.org/de/sources.shtml findest du ein Hooking Tutorial (sogar mit einem Mouse-Hook).
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 09.02.03 21:14 
hey du simulant ;-) zum simulieren nimmst du www.delphi-treff.de/...ine/index.php4?id=38

für den rest das was luckie gepostet hat !!!

_________________
In the beginning was the word.
And the word was content-type: text/plain.