Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Button Colors
Message
 
 
À
25/09/2000 06:11:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00420386
Message ID:
00420397
Vues:
17
Yes. The function is GetSysColor. Here is the syntax:

#DEFINE COLOR_BTNFACE 15
declare integer GetSysColor in "win32api" integer nIndex

lnvar = GetSysCOlor(COLOR_BTNFACE)


>Hi Everyone,
>
>I know from previous threads that the background color of a pushbutton comes from the windows color scheme and that it cant be changed.
>
>However, I cant seem to find a way of programatically returning what color windows has set for a buttons backcolor.
>I need to know so then I can stop the user from setting the forecolor to be the same as the windows defined backcolor (!)
>
>Is there an API call for this?
>
>Cheers.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform