Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows System Color Scheme
Message
 
To
09/07/2003 01:52:23
Rene Lovino
Bigfoot Global Solutions, Inc
Cebu, Philippines
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00808287
Message ID:
00808347
Views:
16
>Hi Alex,
>
>Thank you for your help. How about setting the windows system color through VFP code? ON the example code it only get the system color scheme. Is it possible to set the color scheme?

Yes,
This example is taken from the link, provided by Edgar:
DECLARE INTEGER SetSysColors IN "user32"; 
    INTEGER nChanges,; 
    INTEGER @ lpSysColor,; 
    INTEGER @ lpColorValues 

* change the color 
nChanges = 1 
lpSysColor = COLOR_BACKGROUND
lpColorValues = RGB (0, 0, 255) && bright blue 
SetSysColors (nChanges, @lpSysColor, @lpColorValues) 
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform