by Robin Schuil (6 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(5 Votes)

This demonstration program shows you a simple, but effective method to prevent users from capturing your picture box. When a user captures the screen, an entirely different image appears in your picture box.
I am working on an ActiveX component version of this application. It will retreive the picture from a secret internet location, and display it to the user in Internet Explorer. This way, websites can protect their images from copying and capturing. (Just like TerraServer.com had in the beginning.)
Please vote for this submission to support the development of this open-source tool.
Inputs
None. See demonstration program.
Code Returns
None.
API DeclarationsPrivate Declare Function BitBlt Lib "gdi32" Alias "BitBlt" (ByVal hDestDC As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long
Private Declare Function SleepEx Lib "kernel32" Alias "SleepEx" (ByVal dwMilliseconds As Long, ByVal bAlertable As Long) As Long