Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable CTL-C from Internet Explorer OLE Control
Message
 
À
28/12/2004 21:39:25
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MySQL
Divers
Thread ID:
00972774
Message ID:
00972814
Vues:
19
Hi,

>My aim is to avoid people Copy from the page & save the picture from the OLE control...

Even if you manage to disable the menu and the keyboard shortcut, people could still make a hardcopy of the entire window and cut out the image. Unless you have total control over the computer (like a kiosk computer), there's no way that you can prevent someone from copying what is visible on the screen.

In any case. If you have VFP 9, you can use BINDEVENT() to capture all message sent to the browser and its child window. Then supress those that you don't want. In older versions of VFP you have to write a C++ DLL or use an ActiveX control to hook into Windows messages.
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform