Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine when to use black or white as label forecolor
Message
 
À
13/06/2005 13:51:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01022663
Message ID:
01022875
Vues:
15
Malcolm,

>Here's an interesting link from Sergey as posted in Thread #967748.

Yes, after I posted I read Sergey's answer, then I did a search on the string Shlwapi.dll and I found the in c:\fox\testing\colors.prg the program where I used this API. Hind sight is 20/20 :)

[Update]
Oh, now I clicked the MS link, I thought it would talk about the API, so I did not clicked on it before, but those are the algorithms I think I used
[/Update]

>
>What a great idea! I always wondered how some applications managed to do this.
>
>Thanks again for your help, Hugo!
>


No problem. I really like the way it works, I used in several of our forms where we use dynamic background colors.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform