|
-
April 9th, 1999, 03:12 PM
#1
How to minimize DOS windows
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
-
April 9th, 1999, 06:56 PM
#2
Use the STARTUPINFO structure in CreateProcess
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|