>Fred:
>
>We talked about this task several months ago. Here is a method that I wrote to try to prevent DOS windows from popping up all over the screen. It works well on Win95 & Win98. Haven't tested on ME, yet. NT 4.0 & Win2000, it sometimes works, sometimes, not. With the quick compile of a prg, it may make the difference. BEWARE, that if you get an error or a lockup, You may need to reach for the big red switch!
>
We did? I don't remember, but that doesn't mean much. Thanks, I'll give it a try...
Seems to work OK for W2K!
Thanks (again?).
>HTH
>
>* BEGIN MV6920.LOCKDISPLAY()
>* Description:
>* Parameters: -
>* Returns:
>* Notes: 1.
>* 2.
>* Revisions: 05/25/00 - MWT
>* - Created
>
>lparameter tlOnOff
>
>* added a parameter to the form to allow me to prevent any locking, if needed.
>
>if thisform.LockDeskTop
>
> DECLARE INTEGER GetDesktopWindow IN WIN32API
> DECLARE INTEGER LockWindowUpdate IN WIN32API INTEGER lnHandle
>
>do case
>case tlOnOff
> thisform.hwinDeskTop = GetDeskTopWindow()
> = LockWindowUpdate(thisform.hwinDeskTop)
>otherwise
> = LockWindowUpdate(0)
>endcase
>
>endif
>
>* END MV6920.LOCKDISPLAY()