Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change a desktop?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00757797
Message ID:
00758157
Views:
15
I did all this with the same (no result).
Code I use:

DO p3 && setting a wallpaper

PROCEDURE p3
* setting a wallpaper
#DEFINE SPI_SETDESKWALLPAPER 20

DECLARE INTEGER SystemParametersInfo IN user32;
INTEGER uiAction, INTEGER uiParam,;
STRING @pvParam, INTEGER fWinIni

LOCAL lcWallpaper
lcWallpaper = "c:\windows\Circles.bmp" && should exists
* lcWallpaper = "" && removes the wallpaper

= SystemParametersInfo (SPI_SETDESKWALLPAPER,;
0, @lcWallpaper, 0)
ENDPROC
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform