General information
Category:
Windows API functions
Title:
GetDesktopWindow(), VFP7, Win XP????
This classic trick below doesn't seem to work on our new computers running Win XP Pro. I t worked fine on Win NT 4.
Am I missing something?
Of course, I want to hide the "Printing page x..." window that pops up. I found this code on UT a long time ago, and it was working fine. It does'nt give any errors, it just does not hide the window like it used to.
DECLARE INTEGER GetDesktopWindow IN WIN32API
DECLARE INTEGER LockWindowUpdate IN WIN32API INTEGER lnHandle
hWin = GetDeskTopWindow()
LockWindowUpdate(hWin)
*report form ...*
LockWindowUpdate(0)
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only