>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.