Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lock your Screen/Desktop (tip)
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Lock your Screen/Desktop (tip)
Divers
Thread ID:
00040470
Message ID:
00040470
Vues:
76
Here is a piece of code which would lock your desktop. Any code before unlocking which changes the display on screen will not be seen by the user. Even if you run a form...

DECLARE INTEGER GetDesktopWindow IN WIN32API
DECLARE INTEGER LockWindowUpdate IN WIN32API ;
INTEGER lnHandle
lnDeskTopWin = GetDeskTopWindow()
= LockWindowUpdate(lnDeskTopWin)

<>

= LockWindowUpdate(0)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform