Mackhack
17.01.2002, 16:23
Hi,
ich müsste die Koordinaten wissen wenn ich z. b. mit der Maus im IE auf der URL-Adressleiste bin.
So gehts nur im eigenen Form:
procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X,
Y: Integer);
Var
Point: TPoint;
a, b: Integer;
begin
GetCursorPos(Point);
a:= Point.X;
b:= Point.Y;
Form1.Canvas.TextOut(100, 100, IntToStr(a) + ´ x ´ + IntToStr(b));
end;
Kann mir jemand sagen (vielleicht mit etwas Code) wie ich das machen kann....
Vielen Dank...
ich müsste die Koordinaten wissen wenn ich z. b. mit der Maus im IE auf der URL-Adressleiste bin.
So gehts nur im eigenen Form:
procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X,
Y: Integer);
Var
Point: TPoint;
a, b: Integer;
begin
GetCursorPos(Point);
a:= Point.X;
b:= Point.Y;
Form1.Canvas.TextOut(100, 100, IntToStr(a) + ´ x ´ + IntToStr(b));
end;
Kann mir jemand sagen (vielleicht mit etwas Code) wie ich das machen kann....
Vielen Dank...