delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/06/00:38:05

From: gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Dividing the screen
Date: 6 Mar 1997 04:09:52 GMT
Organization: Oxford University
Lines: 24
Message-ID: <5flg2g$feh@news.ox.ac.uk>
References: <5fklbg$pb6 AT boursy DOT news DOT erols DOT com>
NNTP-Posting-Host: mc31.merton.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019