Kategoriler
E-bülten
Haberlere abone olun:
Bu yazıyı beğendiniz mi?
(toplam 2 oy)
procedure TForm1.Timer1Timer(Sender: TObject);
var
m:tmouse;
begin
m:=tmouse.create;
form1.Left:=m.CursorPos.x;
form1.top:=m.CursorPos.y;
m.Free;
end;
procedure TForm1.FormCreate(Sender: TObject);
begin
SetWindowLong( Handle,GWL_STYLE,GetWindowLong( Handle, GWL_STYLE )and not WS_CAPTION );
SetWindowLong(Application.Handle,GWL_EXSTYLE, WS_EX_TOOLWINDOW);
SetWindowPos(Handle, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE or SWP_NOSIZE);
end;
end.








