How do I force another program to draw its window on my memory bitmap?
This is the scenario: I want one of the windows of another program to be hidden (or off-screen) but I need to force it to draw to a memory location I specify (could be a bitmap dc). My program analyzes by pixel the window contents. Previously, I used GetPixel and it works great. But now I want the target window to be invisible. GetPixel will not work with "invisible targets". So i'm wondering if theres a way to "redirect" the drawing of the other application to a memory bitmap i specify (which I can analyze without problem), instead of drawing to its window.
Remember, my goal is to keep the third-party window invisible (or offscreen) while its program draws into a memory location that I can analyze pixel by pixel (realtime drawing and analysis).
This is a hard question with 500 points attached.
I'll give another 500 bonus points to the one who can give the answer.
Thanks in advanced for those who might have an idea.