Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SPIF_UPDATEINIFILE = &H1
Message
From
19/06/2001 10:57:19
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00521027
Message ID:
00521040
Views:
17
>>In the Msdn i have seen a win32api example.
>>The example is for VB.
>>There is a line like this.
>>
>>Const SPIF_UPDATEINIFILE = &H1
>>
>>What was &H1 mean in vfp.
>>Thanks.
>
>&H1 means hexadecimal 1 which is equal decimal 1.
>You can define it in foxpro as
#DEFINE SPIF_UPDATEINIFILE 0x1
>or just
>#DEFINE SPIF_UPDATEINIFILE 1
Hi sergey.
Thank you very much.
That was a god info for me.
This was the api.
Thats changes the desktop wallpaper.

DECLARE SHORT SystemParametersInfo IN WIN32API ;
INTEGER uiAction, ;
INTEGER uiParam, ;
string pVoid, ;
INTEGER fWinINI

FileName = "c:\windows\gs.bmp"

X = SystemParametersInfo(20, 0, FileName,1)


Have you some other infos about converting VB to VFP.
Cemal.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform