Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obtain Progressbar Default color
Message
De
19/09/2005 16:51:06
 
 
À
19/09/2005 16:34:19
Luis Navas
Independent Consultant
Auckland, Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01050910
Message ID:
01051039
Vues:
15
Hmm.. this is a bit confusing me. I tried changing the XP themes (XP SP2), it gives me Dark Blue. What kind of progressbar are you using?

>Thanks but this gives me a blue, I already tried with this function. In Windows XP by default is a green color, but if you change the theme, it also changes the the progressbar color.
>
>Luis
>
>
>>>HI, is there anyway to obtain the default color for a progressbar. In windows XP default is green, but if I change the themes it also changes the backcolor of progressbar, I want to be abble to detect this.
>>>
>>>Thanks
>>>
>>>Luis
>>
>>
>>Hi Luis,
>>
>>I'm not exactly sure about this, but I think the progressbar color is the same color with menu highlight. So try this:
>>
>>Declare Long GetSysColor in User32 Integer nColorIndex
>>?GetSysColor( 13 )
>>
>>
>>HTH
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform