Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting wallpaper
Message
From
05/01/2000 06:35:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Setting wallpaper
Miscellaneous
Thread ID:
00313105
Message ID:
00313105
Views:
75
I am trying to give the users the ability to set the wallpaper. Being a bit of a newbie to API programming I've hunted around and come across the SystemParametersInfo function. However, when I use the following code....


DECLARE INTEGER SystemParametersInfo IN USER32 uAction AS INTEGER uParam AS INTEGER lpvParam AS STRING fuWinIni AS INTEGER

SystemParametersInfo(20,0,"C:\TEST.BMP",0)


...I get a 'Too many arguments' error.

Any clues?

Cheers!
Next
Reply
Map
View

Click here to load this message in the networking platform