wallpaper with web contect enabled

J

jhirst

I have made some code that changes the wallpaper(szNew is
a string with picture location):

SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, szNew,
SPIF_SENDCHANGE)

It only works when web content is disabled and the picture
is non-web content. if web content is enabled the desktop
will not be refreshed, even when I refresh the desktop
manually. If I go into display settings and then press
ok, and then refresh it appears. How do I do this in
code? Anyone?
 
J

jhirst

Thanks for the reply. The problem is, is that it only
works when "show web content" is disabled. If it is
enabled then it does not refresh the desktop. Do you know
which registry key holds the "show web content" data
(Windows 2000). ClassicShell does not seem to work.
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top