wallpaper with web contect enabled

  • Thread starter Thread starter jhirst
  • Start date Start date
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?
 
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
 
Back
Top