LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

setting image as wallpaper

does anyone know how to programatically set an given image as the windows
background (wallpaper)?

pat
0 Kudos
Message 1 of 2
(2,924 Views)
Hmm- this was asked quite recently as I recall, and the suggestion at the
time was to set the background to be a web page, updating periodically, and
have your VI simply update the web page.

The direct approach which I'd try myself is to, via ActiveX, try and find
the function IE calls when you pop the right mouse button menu over an image
to use that image as the desktop image. This would require some browsing
through the various properties and methods in the Internet Explorer classes.

Both options require Internet Explorer. To do it without, you would need to
go into the Windows API and figure out how to update the desktop image at
the lower level.

patrick sincebaugh wrote in message
news:3a3e9465@newsgroups.ni.com...
>
> does any
one know how to programatically set an given image as the windows
> background (wallpaper)?
>
> pat
0 Kudos
Message 2 of 2
(2,924 Views)