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 »

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

Claudiu (Softland)
Posts: 286
Joined: Wed Dec 16, 2009 12:46 pm

Re: ShellExecute+SW_HIDE - associated application visible

Post 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.
Follow us to stay updated:

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

Re: ShellExecute+SW_HIDE - associated application visible

Post by zarkogajic »

Ok, thanks.

-zarko

Post Reply