介绍用Delphi设置墙纸.
I think that you neednt modify the ini file, the API function sysparainfo has a argument that modify the registry auto.
在 maple@argo (P II,奔腾的心) 的大作中提到:
: 很简单的程序,大家不妨一试
: var
: reg : TRegInIFile;
: begin
: reg := TRegInIFile.Create( Control Panel );
: reg.WriteString( desktop , WallPaper , wallpaper.bmp );
: reg.WriteString( desktop , TileWallPaper , 1 );
: reg.Free;
: SystemParametersInfo( SPI_SETDESKWALLPAPER , 0 , nil , SPIF_SENDWININICHA;
: end;
查看本文来源