Thread: FoxPro Some General Questions/LockWindowUpdate

LockWindowUpdate
If you need lock screen in VFP, as alternative we can use:

DECLARE INTEGER LockWindowUpdate IN Win32API;
INTEGER hWnd
* Assuming that it's called from inside TreeView
= LockWindowUpdate(This.hWnd)
* DO Whatever
= LockWindowUpdate(0)