News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Re: SystemParametersInfo problem

Started by elmo, April 16, 2011, 03:19:32 AM

Previous topic - Next topic

elmo

     invoke SystemParametersInfo,SPI_SETDESKWALLPAPER,NULL,ADDR jpgPATH,\
                                             SPIF_SENDWININICHANGE

I want to use above code to set *.jpg or *.gif  as my walpaper
but I can't
maybe, before call that function, I must change *.jpg or *. gif  to *.bmp
then the result I save to *.bmp
then pass it to jpgPATH
but do you have other method?
be the king of accounting programmer world!

dedndave

XP converts it to a BMP file and stores it in the user's folder

.....a 7 year-old quote from Greg in the PB forum   :bg
QuoteIf I set a JGP as wallpaper, Windows XP converts it to a BMP and saves
it in 'C:\Documents and Settings\Gregory Lyon\Local Settings\
Application Data\Microsoft\Wallpaper1.bmp' and sets that BMP as the
wallpaper.

FORTRANS

Hi Dave,

   Amusing, looked at my wallpaper.  It is in my WINNT directory
as "Netscape 7.2 Wallpaper.bmp".  Local Settings makes more
sense.  Though a lot of other things are strange on this one.

Cheers.

Steve N.

dedndave

win 2000 right, Steve ?
it may have been installed over win 98 as an upgrade
back then, netscape was a big deal - "the browser wars"
they probably tried to edge out ms wherever they could

dedndave


FORTRANS

Quote from: dedndave on April 16, 2011, 02:38:09 PM
win 2000 right, Steve ?
it may have been installed over win 98 as an upgrade

Hi,

   Right it isWin2000, but it was a clean install.  I started to
use an XP machine, but went back to this machine it stopped
booting.  Some time ago Norton AntiVirus screwed something
up.  So now some things don't work the way they should.

Quote
back then, netscape was a big deal - "the browser wars"
they probably tried to edge out ms wherever they could

   I've got Internet Exploder as well.  Between the two of
them most sites can be used without crashing.  The place
I got this from bundled some software and configured it.

Regards,

Steve