smasherprog / screen_capture_lite

cross platform screen/window capturing library
MIT License
616 stars 156 forks source link

Code writing inquiry: penetrate the specified window to achieve desktop screenshots #160

Closed Alan-CRL closed 10 months ago

Alan-CRL commented 10 months ago

I want to capture a screenshot of the desktop, but there are certain windows HWND that I don't want to be captured, I need to penetrate them to take a screenshot, which in layman's terms means that I can capture the part of the window that is covered by these windows, and I need to implement this in C++. How do I write the code?