Matt,
I don't have WinXp to test it.
>You said you tried _vfp.hWnd and _screen.hWnd and you confirmed it doesn't work. I can not find any way to get a hWnd that DOES work. It seems that the lockwindowupdate() function just does not work on XP and using either VFP7 or VFP8. It worked for me under NT.
>
>
>
>>>
>>>I haven't tested this, but you could try to call LockWindowUpdate with _VFP.Hwnd. This was the only possibility to lock toolbars, for example. Maybe this helps in this case too.
>>>
>>
>>Armin,
>>
>>I tried to call LockWindowUpdate under Win2KSP3 with _VFP.Hwnd and _SCREEN.Hwnd and it doesn't work.
--sb--