Page 1 of 1

ShellExecute+SW_HIDE - associated application visible

Posted: Tue Nov 30, 2010 12:20 pm
by zarkogajic
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

Re: ShellExecute+SW_HIDE - associated application visible

Posted: Wed Dec 01, 2010 8:55 am
by Claudiu (Softland)
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.

Re: ShellExecute+SW_HIDE - associated application visible

Posted: Wed Dec 01, 2010 10:13 am
by zarkogajic
Ok, thanks.

-zarko