Re:Re: Background picture for windows

Posted by JiiPee:

In Reply to: Re: Background picture for windows posted by WAllison:

: heres the win32 basics :

: procedure ChangeDesktop(Filename: string);
: var lpBuffer: Array [0..MAX_PATH] of Char;
: begin
: StrPCopy(lpBuffer, Filename);
: SystemParametersInfo(SPI_SETDESKWALLPAPER,0,@lpBuffer, 0);
: end;

: I know this works i've tried it myself - I think it might need some work in registering the files but just look up SystemParametersInfo in Win32 help.

--------------------------------------------------
But there is no advices for the file, path, and button. SORRY I´m not an expert in coding.


Related Articles and Replies

DelphiLand Discussion Forum