Creating a process with its window hidden

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way, using the CreateProcess/CreateProcessAsUser api's to launch
an application with it windows hidden upon startup?
 
itmanager said:
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
 
Back
Top