Me+D6
procedure TForm1.Button1Click(Sender: TObject);
var
MyCursor: HIcon;
begin
MyCursor := LoadCursorFromFile('C:/Windows/Cursors/HOURGLAS.ANI');
if MyCursor<>0 then
begin
Screen.Cursors[1]:=MyCursor;
Cursor := 1;
end
else
showmessage('加载动态光标文件错误');
end;