Reputation: 43214
Will it be any problems to take a screenshot of the window content, if that window is overlapped by some other application.
Upvotes: 1
Views: 4160
Reputation: 7277
This is possible / easy with PrintWindow (user32.dll). For a detailed code example, see Capturing Windows Regardless of Their Z-Order.
Upvotes: 1
Reputation: 6008
You could hide the top window, then do the screenshot. In autohotkey: use winhide:
WinHide, window_name
your snapshot code here, then
WinShow, window_name
Upvotes: 0
Reputation: 137108
Unless you've got a method in the application to render it to an off-screen bitmap you'll only get the visible portions of the window.
Upvotes: 0