1

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?

2

Re: Questions on a console window

Hello, RussianFellow, you wrote: RF> In my program, besides a principal dialog box, the console window in which there is an information input-output is used also. RF> this console window at me is initialized as follows... What for it is necessary to do a console input/output if there is a dialog box Simply to add   (control items) in a dialog box - and forward P.S. If (extremely) the console window, here particulars about it all the same is necessary: https://docs.microsoft.com/en-us/window … -functions P.P.S. Respected RussianFellow, you already raised this point in question about three months ago: http://rsdn.org/forum/mfc/6801342 the Author: RussianFellow Date: 05.06 12:41 and to you then already here answered (including).