Click to See Complete Forum and Search --> : How to minimize DOS windows


Ashish Singla
April 9th, 1999, 03:12 PM
Hello
We have to call 3 processes from a programme. start-1-2-3(give control to 3).
In this first 2 are DOS processes which automatically closes DOS windows after completion but in that case the DOS window do not minimize and it looks very odd. Can we minimize DOS window by any means...?
We are using CreateProcess for this... Any solution with code(if possible) will be highly appreciated. This is a very urgent case..

Best Regards
Ashish

Alvaro
April 9th, 1999, 06:56 PM
Well, from the docs on CreateProcess it looks like you can pass it a pointer to a STARTUPINFO structure whose wShowWindow member can be set to SW_MINIMIZE. Have you tried that?



Alvaro