Alexander
Alexander

Reputation: 1612

How to "see through" an application with a screenshot

I have program that does screenshots every 100ms and send them to a client. Right now I can only show a certain window like Get a screenshot of a specific application

But I want to hide a certain window.

What I cannot do:

Just image that an host has very valuable information in excel, it may not be seen. But at the same time the client has to always see the browser(or any other program, not just one only like I have it now) behind it.

Upvotes: 0

Views: 226

Answers (1)

Thomas Weller
Thomas Weller

Reputation: 59503

The following might work:

  1. From the linked question, look at the highest voted answer and use PrintWindow() to get screenshots of a single window. Do that for all windows except the one you want to hide.

  2. Determine the Z-Order of the windows

  3. Merge the bitmaps with transparency

Upvotes: 1

Related Questions