Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with lockwindowupdate() APi call...
Message
From
16/02/2003 15:06:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Help with lockwindowupdate() APi call...
Miscellaneous
Thread ID:
00753913
Message ID:
00753913
Views:
43
On WinNT4 and VFP7, the following trick (that I learned on UT) works fine, but it does not work on VFP7 running on XP Pro or Home.

The intent here is to hide the "Printing..." window when running a report. I have seen many people ask how to do this, and I had it working on NT4, but XP seems to ignore it.

Can anyone re-produce this?



DECLARE INTEGER GetDesktopWindow IN WIN32API
DECLARE INTEGER LockWindowUpdate IN WIN32API INTEGER lnHandle

hWin = GetDeskTopWindow()
=LockWindowUpdate(hWin)

report form ...

=LockWindowUpdate(0)
Next
Reply
Map
View

Click here to load this message in the networking platform