I am trying to make a program that is similar to a wallpaper changer except it changes the backgrounds inside windows explorer directories instead of the desktop. I used the Spy++ program to see if I could get some info on the control. The control used in windows explorer is apparently just a listview control. Custom background images are allowed by creating a desktop.ini file in each folder you want a background for. The problem is you need to put one in every folder and it is not possible to cycle them.
After finding that it was a listview control, I looked up source code on changing the background image of a listview. I found a few examples using sendmessage, but none of them worked (even in VB listview). I used Spy++ to temporarily get a handle of the control and then used it in my VB code with no luck; it didn't change the background image.
Can anyone give me some ideas or some sample code?
Here's one of the samples I tried: http://www.developerfusion.com/code/...kground-image/
After finding that it was a listview control, I looked up source code on changing the background image of a listview. I found a few examples using sendmessage, but none of them worked (even in VB listview). I used Spy++ to temporarily get a handle of the control and then used it in my VB code with no luck; it didn't change the background image.
Can anyone give me some ideas or some sample code?
Here's one of the samples I tried: http://www.developerfusion.com/code/...kground-image/