Topic: Operation with a console window
I in MFC-dialogue, as OnInitDIalog wrote::: AllocCOnsole (); freopen ("CONIN $", "rt", stdin);//for input freopen ("CONOUT $", "wt", stdout);//for an output freopen ("CONOUT $", "wt", stderr);//for an output of error messages the Console window opens, it works - on it texts are entered and deduced. But is on a screen background, and in the foreground there is a dialog box of my program. Whether it is possible to move program a console window from a background on the foreground and on the contrary - whether it is possible to move program a console window from the foreground on a background? And whether it is possible to close program a console window (at end of operation with the program)? If yes, as it can be made?