hiding_20a_20window_20from_20a_20screenshot
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| hiding_20a_20window_20from_20a_20screenshot [2018/03/31 13:19] – external edit 127.0.0.1 | hiding_20a_20window_20from_20a_20screenshot [2024/01/05 00:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| =====Hiding a window from a screenshot===== | =====Hiding a window from a screenshot===== | ||
| - | //by Richard Russell, November 2014//\\ \\ Suppose your program displays something which you would prefer the user not to be able to capture in a screenshot (e.g. using the Print Screen key). You can do that as follows:\\ | + | //by Richard Russell, November 2014//\\ \\ Suppose your program displays something which you would prefer the user not to be able to capture in a screenshot (e.g. using the Print Screen key). You can do that as follows: |
| + | |||
| + | <code bb4w> | ||
| WDA_MONITOR = 1 | WDA_MONITOR = 1 | ||
| SYS " | SYS " | ||
| + | </ | ||
| + | |||
| Once this code has been executed, the specified window (here the main output window) will appear black in a screenshot.\\ \\ Of course you can't stop the user taking a photograph of the screen, but the above code will go some way to discouraging the capture of your program' | Once this code has been executed, the specified window (here the main output window) will appear black in a screenshot.\\ \\ Of course you can't stop the user taking a photograph of the screen, but the above code will go some way to discouraging the capture of your program' | ||
hiding_20a_20window_20from_20a_20screenshot.1522502363.txt.gz · Last modified: 2024/01/05 00:17 (external edit)