RE: Desktop pic proggy....
- Posted by Tone =8Akoda <tone.skoda at gmx.net> Jun 19, 2003
- 398 views
You have to define it yourself, it's not in Win32lib. Get Win32 API manual, like MSDN. global constant xSystemParametersInfo =3D registerw32Function(user32,=20 "SystemParametersInfoA", {C_UINT, C_UINT, C_POINTER, C_UINT}, C_INT ) I don't know anything about CxImage. mistertrik at hotmail.com wrote: >=20 >=20 > I am new to API programming.... where is this ->xSystemParametersInfo<-= =20 > defined? >=20 > Also, I dl'ed CxImage, but on running test.exw, got the error message=20 > inside=20 > exw.exe: >=20 > The instruction at 10035424 referenced memory at 0055fc04. The memory=20 > can=20 > not be read from... > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > .______<-------------------\__ > / _____<--------------------__|=3D=3D=3D > ||_ <-------------------/ > \__| Mr Trick >=20 >=20 > >From: Tone ?koda <tone.skoda at gmx.net> > >Reply-To: EUforum at topica.com > >To: EUforum <EUforum at topica.com> > >Subject: RE: Desktop pic proggy.... > >Date: Wed, 18 Jun 2003 14:41:55 +0000 > > > > > >You can make you own, using: > > > >success =3D3D w32Func (xSystemParametersInfo, {SPI_SETDESKWALLPAPER, > > 0, dest_fname, 0}) > > > >and use FreeLib to convert jpg to bmp. > > > >Then you could set Windows scheduler to execute this program every hour.= > > > >I wrote a program which sets desktop wallpaper from jpg image and=20 > >writes=3D > >=3D20 > >today's date onto image. > > > > > >mistertrik at hotmail.com wrote: > > >=3D20 > > >=3D20 > > > Can anyone recommend a simple desktop wallpaper program? > > > I'd like to be able to point it at a directory full of pics and have = it=3D > >=3D20 > > > auto-change ever few hours or so.... > > >=3D20 > > > *Free > > > *No spyware > > >=3D20 > > >=20 > >=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D= =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D > > > >=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D= =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D > > > >=3D3D=3D3D=3D3D=3D3D=3D3D > > > .______<-------------------\__ > > > / _____<--------------------__|=3D3D=3D3D=3D3D > > > ||_ <-------------------/ > > > \__| Mr Trick > > >=3D20 > > >=3D20 > > >=3D20 > > > > > >TOPICA - Start your own email discussion group. FREE! > > > > >=20 >=20 >=20