Mail Archives: djgpp/1997/03/06/00:38:05
No One Important (donjr AT erols DOT com) wrote:
: Forgive me if this question is stupid, I'm somewhat new to c++.
: Is it possible to divide the screen up into two seperate screens
: similar to HTML frames? I guess it would also be like windows, only I
: would like to keep the program in DOS
I'm not entirely sure what exactly you are looking for - you can do
whatever you like, if you write the code for it. In this case, it
really depends whether you're doing text-based or graphics-based
things; if it's text based, type at the DOS prompt:
info libc f conio
and have a look at the window(...) function. Using this you can select
an area of the screen to confine text output to. You must use console
output functions, though (also in the conio section).
If you're using graphics, it really depends upon what library you're
using - most can clip output to a specified region of the screen.
--
George Foot <gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk>
Merton College, Oxford.
- Raw text -