I want to find code set default bitmap on destop !?
I want to find code after setup set default bitmap on my destop, instead of i must into Start->Settings->Control Panel->Display->Desktop and choice Bitmap, can you help me ?
Archive: I want to find code set default bitmap on destop !?
I want to find code set default bitmap on destop !?
I want to find code after setup set default bitmap on my destop, instead of i must into Start->Settings->Control Panel->Display->Desktop and choice Bitmap, can you help me ?
You need to change a regvalue. Google is your friend.
Hi..
I want to ask NSIS may be set defauft bitmap on destop, do you understand ?
WriteRegStr HKCU "Control Panel\Desktop" "Wallpaper" "$INSTDIR\your.bmp"
the system plugin readme has a code sample to set the wallpaper using the proper COM api call
I guess that has been updated with 2.45, because in 2.44 all I see is an example to getWallpaper.
I guess that has been updated with 2.45, because in 2.44 all I see is an example to getWallpaper.In 2.45 all I can see is the GetWallpaper example
If you just want to set a bmp wallpaper, call http://forums.winamp.com/showthread....07#post2393007 with the system plugin
Hi
I use this in my code
---
File "C:\MyWallPaper.bmp"
WriteRegStr HKCU "Control Panel\Desktop" "WallpaperStyle" "2"
System::Call 'user32::SystemParametersInfo(i 20,i 0,t "$INSTDIR\Graphics\MyWallPaper.bmp",i 3) i.r0'
---