By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,613 Members | 1,890 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,613 IT Pros & Developers. It's quick & easy.

Creating a process with its window hidden

P: n/a
Is there a way, using the CreateProcess/CreateProcessAsUser api's to launch
an application with it windows hidden upon startup?
Mar 23 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"itmanager" <it*******@discussions.microsoft.com> wrote in message
news:FB**********************************@microsof t.com...
Is there a way, using the CreateProcess/CreateProcessAsUser api's to
launch
an application with it windows hidden upon startup?


What kind of application?

Windowed applications create their own windows. They are free to accept or
reject the fourth parameter passed to WinMain() which is the show state
which the "parent" specified.

Console applications have windows which are created by Win32 itself. You can
use the CREATE_NO_WINDOW or the DETACHED_PROCESS flag so that the console is
not initially shown.

Regards,
Will
Mar 23 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.