Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with lockwindowupdate() APi call...
Message
 
To
18/02/2003 18:36:17
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00753913
Message ID:
00754810
Views:
25
>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.

Matt,

I tested your code with VFP7 and WinXP Pro and it seems to be working. Try to test a value, returned by LockWindowUpdate(). It should be 1. If not, you can get an error code using API function GetLastError():
Declare Long GetLastError in Win32API
Only one window in system can be locked at a time. If any window is already locked your call wouldn't work.
Previous
Reply
Map
View

Click here to load this message in the networking platform