Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine themed control border color
Message
De
26/06/2005 15:44:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Determine themed control border color
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Divers
Thread ID:
01026569
Message ID:
01026569
Vues:
65
I'm building a composite control and would like to match the border color that my textbox controls get via the current XP theme.

The value returned by a textbox's BorderColor property only applies to non-themed controls. If themes are enabled, then the border color is based on the current XP theme.

Is there a Win32 API GetSysColor() constant I can use to determine this info? Or should I be using another (VFP or Win32 API) function?

My workaround solution is to use Point() to find this information but I'm hoping there's a more professional way to retrieve this type of information.

Thank you,
Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform