Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming! |
⤷ Change the wallpaper in Delphi
Use SystemParametersInfo procedure with SPI_SETDESCKWALLPAPER value.
procedure TForm1.Button1Click(Sender: TObject);
var
St: array[0..100] of Char;
begin
St:='C:\Windows\MyWallPaper.bmp';
SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, @St, SPIF_SENDCHANGE);
end;
-
More for developers