Hi,
Does someone know about drawing a window in a Memory Device Context, I need this so I can then read pixels from a window that is behind other windows. I need this for windows XP, not Vista.
Thx in advance.

It's easy to read pixels, like with the GetPixel function. But instead of reading each pixel individually, learn how to use BitBlt, to directly copy the window's entire device context to one you can use.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.