Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do i convert getcolor() to RGB ?
Message
De
16/02/2000 08:27:56
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00331708
Message ID:
00332809
Vues:
15
>>* bitmasking
>>lnRed = bitand( nColor, 0x000000ff )
>>lnGreen = bitrshift( bitand( nColor, 0x0000ff00 ), 8 )
>>lnBlue = bitrshift( bitand( nColor, 0x00ff0000), 16 )
>
>Sarek scribbles that one down, whapping himself over the head for not thinking of it himself....

Isn't "whapping himself over the head" a rather emotional response for Sarek?
David.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform