Autor Beitrag
Sephiroth
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 102



BeitragVerfasst: Fr 24.10.03 10:51 
Hallo Leute,

ich benötige eine Funktion wie die SetCursorPos für Linux. Leider steht die ja in der Windows.pas. Kennt einer die Funktion unter Linux?

Danke im Voraus
AndyB
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1173
Erhaltene Danke: 14


RAD Studio XE2
BeitragVerfasst: Fr 24.10.03 12:22 
Das X-System mag es nicht, wenn man den Maus-Cursor vom Programm her bewegt. Das raubt dem Benutzer seine Freiheit.


Hast du schon Mouse.CursorPos := Point(X, Y); ausprobiert?

_________________
Ist Zeit wirklich Geld?
Sven
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 314


D6 Ent, K3 Pro (patched)
BeitragVerfasst: Fr 24.10.03 12:25 
In der Unit QT gibt es die Funktion QCursor_setPos(x: integer; y: integer);. Vielleicht hilft dir dies schon einmal weiter.
Über die genaue Anwendung kann ich allerdings nichts sagen.

Gruß Sven

_________________
MDK 9.1, Kernel 2.4.21, KDE 3.1 Kylix 3 Pro (patched), nutze aber auch Windows