Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine color of a pixel within an image?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00978357
Message ID:
00978372
Vues:
30
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDrawingBitmapClassGetPixelTopic.asp

FoxPro Declaration
DECLARE INTEGER GetPixel IN gdi32;
    INTEGER hDC, INTEGER X, INTEGER Y
>I'm trying to determine the color of a pixel that the user has clicked on within an image on a form. The form's Point() method returns the color of a specified point on the form itself, but returns -1 if you click on an image control that is sitting on the form. There doesn't seem to be a Point() method for the Image class -- is there some other way to determine the color of a specified pixel on an image?
>
>TIA,
>Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform