notooth
04-14-2004, 03:30 AM
Does anyone know how to get color of any pixel on desktop using VBNet? Please tell me.
How to get color of a pixel?notooth 04-14-2004, 03:30 AM Does anyone know how to get color of any pixel on desktop using VBNet? Please tell me. MKoslof 04-14-2004, 06:41 AM Can you elaborate a little bit. You want to get the current pixel color of a certain object? Are you initially drawing this object via the graphics() class? Or, do you want to find the color of an existing object on the desktop that was not created within your application. And, do you mean each individual users desktop?(profile based). notooth 04-15-2004, 06:34 AM I want to find the color of an existing object on the desktop that was not created within my application. Please help. MKoslof 04-15-2004, 07:16 AM Without some Win32 API I don't think so. I would have to think about it. But, in native .Net, there is not going to be a class or method to get this information for you. Your best bet is too look into the Win32 API functions GetSystemMetrics, and GetSystemWindow. |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum