ShellExecute+SW_HIDE - associated application visible
-
- Posts: 15
- Joined: Tue Nov 30, 2010 11:40 am
ShellExecute+SW_HIDE - associated application visible
Hi,
Am evaluating the SDK using Delphi XE on Windows XP, Word 2003.
The ShellExecute example with SW_HIDE still opens Word and while pages are being sent to the printer a Word dialog is visible.
Any idea how to really hide this?
p.s.
Am aware of the OLE example but want to use the more general ShellExecute approach.
-zarko
Am evaluating the SDK using Delphi XE on Windows XP, Word 2003.
The ShellExecute example with SW_HIDE still opens Word and while pages are being sent to the printer a Word dialog is visible.
Any idea how to really hide this?
p.s.
Am aware of the OLE example but want to use the more general ShellExecute approach.
-zarko
-
- Posts: 286
- Joined: Wed Dec 16, 2009 12:46 pm
Re: ShellExecute+SW_HIDE - associated application visible
Hello,
The Word window cannot be hidden if you print using ShellExecute. This is the default Word behavior and we did not found any option in Word to change it. That is why we added the Word OLE samples, to provide a way to convert silently Word documents.
Thank you.
The Word window cannot be hidden if you print using ShellExecute. This is the default Word behavior and we did not found any option in Word to change it. That is why we added the Word OLE samples, to provide a way to convert silently Word documents.
Thank you.
Follow us to stay updated:
- Newsletter (get a discount for subscribing): https://www.novapdf.com/newsletter.html
- Facebook: https://www.facebook.com/novapdf
- Twitter: https://twitter.com/novapdf
- Linkedin: https://www.linkedin.com/showcase/novapdf
-
- Posts: 15
- Joined: Tue Nov 30, 2010 11:40 am
Re: ShellExecute+SW_HIDE - associated application visible
Ok, thanks.
-zarko
-zarko