
- Forum
- Programming Talk
- C and C++
- How to hide the command prompt window.
How to hide the command prompt window.
This is a discussion on How to hide the command prompt window. within the C and C++ forums, part of the Programming Talk category; Is there any way of hiding the command prompt window when run code in C++ that needs no input from ...
-
12-22-2006, 12:02 AM #1
- Join Date
- Jan 2006
- Answers
- 16
How to hide the command prompt window.
Is there any way of hiding the command prompt window when run code in C++ that needs no input from the reader?
-
You can use the functions:
FindWindow and ShowWindow to achieve this
For instance you can take the following tip for achieving your result:
variable_name=FindWindow("class name", NULL);
If the function fails the return value is NULL.
ShowWindow(variable_name,0);

Reply With Quote





