Re: Win32Lib getPixel() problem

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu