Re: How to hide other programme when it startup? by William
William
Mon Oct 23 17:08:45 CDT 2006
"Sean" <xfbakup@21cn.com> wrote in message
news:ureGnxn9GHA.1172@TK2MSFTNGP03.phx.gbl...
>i wanna hide the appointed programme when it startup,I used the APIHOOK to
>catch bitblt()showwindow() etc. functions,but can't realized. Is there a
>way to make this work ?
How is it starting up and what kind of application is it?
If it is a windowed application being launched by an application of yours,
you can try to use CreateProcess() and specify the STARTF_USESHOWWINDOW
among the flags in the STARTUPINFO structure and SW_HIDE flag in the
wShowWindow member.
If it is a console application you can try to use the CREATE_NO_WINDOW flag.
Regards,
Will