Re:Re: Background picture for windows


[ Related Articles and Replies ] [ Delphi Forum ]

Posted by JiiPee on December 20, 2001:

In Reply to: Re: Background picture for windows posted by WAllison on December 20, 2001:

: 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 Im not an expert in coding.


Related Articles and Replies

[ DelphiLand Discussion Forum ]