Autor Beitrag
Hack Gott
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: Mi 06.04.05 15:54 
Ich wollte gerne die aktutelle Position des Cursors in meinem Fenster ermitteln (mit width und height).
Elite
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 06.04.05 16:00 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
var
 p: TPoint;
...
p := GetCursorPos
p.x := p.x - left;
p.y := p.y - height;
// Cursor bei p.x|p.y