Show/hide mouse cursor

procedure TForm1.Button1Click(Sender: TObject);
begin
  ShowCursor(False);  // Hide cursor
end;


procedure TForm1.Button2Click(Sender: TObject);
begin
  ShowCursor(True);  // Show cursor
end;
原文地址:https://www.cnblogs.com/taobataoma/p/862677.html