ShellExecute+SW_HIDE - associated application visible

Post here any questions/suggestions you have about novaPDF SDK or novaPDF OEM.
Post Reply
zarkogajic
Posts: 15
Joined: Tue Nov 30, 2010 11:40 am

ShellExecute+SW_HIDE - associated application visible

Post by zarkogajic » Tue Nov 30, 2010 12:20 pm

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

Support
Posts: 223
Joined: Wed Dec 16, 2009 12:46 pm

Re: ShellExecute+SW_HIDE - associated application visible

Post by Support » Wed Dec 01, 2010 8:55 am

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.

zarkogajic
Posts: 15
Joined: Tue Nov 30, 2010 11:40 am

Re: ShellExecute+SW_HIDE - associated application visible

Post by zarkogajic » Wed Dec 01, 2010 10:13 am

Ok, thanks.

-zarko

Post Reply