Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hiding an app's window with ShellExecute()
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00599228
Message ID:
00599275
Views:
16
>If you wish to print 'invisibly' from MS Word, why not use Word automation?

While I haven't tried it with Word, I know that printing with Excel using OLE Automation still produces the printing dialog. I have a feeling that's the issue here and would apply regardless of how printing was initiated.

The reason, for example, that using the ShellExecute() function with the print verb and the SW_HIDE parameter produces the dialog is the same as why an automation server, even if not displayed, shows one as well. The dialog isn't produced necessarily by the application, but rather by winspool.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform