Re: Win32Lib getPixel() problem
- Posted by Brian Broker <brian_broker at yahoo.com> Dec 12, 2005
- 496 views
Andy Drummond wrote: > > I'm trying to read individual pixels back from either a child window or > a bitmap using Win32Lib. > Win32Lib does have a getPixel function which seems to be entirely > correct, but it always returns -1. This tells me that either the control > I am trying to access is not one I can read pixels from or the > coordinate is outside the client area. So I made sure the coordinate was > valid, and I'm sure you can read pixels from bitmaps.... > So does anyone have an idea why I am not getting what I expect back? I > wrote a minimal program and still get the same result ... > > Andy Drummond > Can I see your minimal program? -- Brian