Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Printing ...'
Message
From
12/08/2001 16:16:49
 
 
To
11/08/2001 08:49:57
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00542638
Message ID:
00542800
Views:
57
>Well, I wasn't specific. This is about DLL and a user interface. This window should not be generated in a first place. Just like when you print from Word there is no ridiculous window saying 'Printing..'.
DECLARE INTEGER GetDesktopWindow IN WIN32API
DECLARE INTEGER LockWindowUpdate IN WIN32API INTEGER lnHandle
hWin = GetDeskTopWindow()
LockWindowUpdate(hWin)
*COMPILE 123.prg
REPORT FORM x TO PRINT
LockWindowUpdate(0)
You can use this "hide" the output window, but you still can't use this in a .DLL as it's still "there" as UI and won't work in a .DLL.

But you can use this if you're not in a .DLL. Works for that annoying COMPILE message, too.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform