Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows System Color Scheme
Message
 
À
09/07/2003 01:52:23
Rene Lovino
Bigfoot Global Solutions, Inc
Cebu, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00808287
Message ID:
00808347
Vues:
15
>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) 
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform