Skip to content
⌘ NSIS Forum Archive

I want to find code set default bitmap on destop !?

9 posts

dong#

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 ?
Anders#
the system plugin readme has a code sample to set the wallpaper using the proper COM api call
demiller9#
I guess that has been updated with 2.45, because in 2.44 all I see is an example to getWallpaper.
pengyou#
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
Anders#
If you just want to set a bmp wallpaper, call http://forums.winamp.com/showthread....07#post2393007 with the system plugin
Boyito#
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'
---