I'm attempting to set a JPG desktop wallpaper via the IActiveDesktop interface but every time I include shlobj.h I get a bunch of "Multiple declaration" errors and the interface is not available without it.
Anyone have suggestions on another way to do this?
I know you can set bmp images via the registry but I'm not sure where the information for ActiveDesktop is kept.
When I search the registry I found
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\General
with a key Wallpaper that had the location of the last picture I set but when I update it manually it doesn't show up on the desktop.
Any Ideas?
-Ruggie
Anyone have suggestions on another way to do this?
I know you can set bmp images via the registry but I'm not sure where the information for ActiveDesktop is kept.
When I search the registry I found
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\General
with a key Wallpaper that had the location of the last picture I set but when I update it manually it doesn't show up on the desktop.
Any Ideas?
-Ruggie