可以通过SetClassLong 和LoadCursorFromFile 函数实现unit Unit1;interfaceuses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, jpeg, ExtCtrls,xpman;type TForm1 = class(TForm) Button1: TButton; Image1: TImage; Image2: TImage; procedure FormCreate(Sender: TObject); procedure Button1Click(Sender: TObject); private HOLDCURSOR:HCURSOR; //定义一个变量 { Private declarations } public { Public declarations } end;var Form1: TForm1;implementation{$R *.DFM}procedure TForm1.FormCreate(Sender: TObject);var HNewCursor: Hcursor;begin HNewcursor:=LoadCursorfromfile('1.ANI'); //调用API函数装载动画光标文件,ANI文件路径请根据自己的实际情况进行调整 HoldCursor:=SetClassLong(Form1.Handle,GCL_HCURSOR,HNEWCURSOR); //把原光标储存起来以备以后的恢复end;procedure TForm1.Button1Click(Sender: TObject);begin HoldCursor:=SetClassLong(Form1.Handle,GCL_HCURSOR,HOLDCURSOR); Close; //在结束程序前一定不要忘记恢复光标end;end.呵呵,就这么就实现啦