Topic: Questions on a console window
In my program, besides a principal dialog box, the console window in which there is an information input-output is used also. This console window at me is initialized as follows: as CInitDlg:: OnInitDialog::: AllocConsole (); freopen ("CONIN $", "rt", stdin); freopen ("CONOUT $", "wt", stdout); freopen ("CONOUT $", "wt", stderr); a console window happens at me as CInitDlg:: OnBnClickedCancel: fclose (stdout); fclose (stderr); fclose (stdin);:: FreeConsole (); In this connection at me two questions: 1) whether It is possible in program depending on condition to make so that this window jumped out that on the screen foreground was deleted on a background? 2) whether it is possible to set program the buffer of this console window on a vertical that is that instead of 80 lines in this window there would be, say, 3000 lines? If it is possible, as it to make?