How can you prevent a window being captured by Print-Screen?
Posted
by John
on Stack Overflow
See other posts from Stack Overflow
or by John
Published on 2010-06-11T12:21:21Z
Indexed on
2010/06/11
12:22 UTC
Read the original article
Hit count: 174
I noticed a few times than when I print-screen while Media Player is running, the content is replaced with a grey rectangle. I've no idea if it's deliberate due to DRM, or some technical issue, but it struck me that being able to deliberately block screen-capture might be a useful feature in some scenarios.
Is there some specific message each HWND gets for print-screen - does Windows do a special repaint or simply dump buffers to the clipboard?
I guess I'd prefer to focus this on Win32 specifically, but as long as it's Windows-related then fine.
© Stack Overflow or respective owner