Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine color of a pixel within an image?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00978357
Message ID:
00978372
Views:
31
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform