Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lock your Screen/Desktop (tip)
Message
De
17/07/1997 16:55:21
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00040470
Message ID:
00040471
Vues:
28
>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)

This is an interesting piece of code. I will certainly give it a try as I have a need for that in one of my applications.

BTW, you may create a FAQ "How to lock the desktop?". This can be a valuable piece of code for others.

Thanks.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform