TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CHRISTOPHER BUTLER
from: RAJESH DHAWAN
date: 1997-08-02 14:46:00
subject: DOS Window

Hi again Chris::
  Christopher Butler,
  In a message on 30 July, wrote :
CB> Is there a way to confine the output of a DOS program to a 
CB> certain window on the screen?
Yes there is. If you are using TC then lookup the window() call.
 void window(int left,int top,int right, int bottom);
You could then call puttext() to confine your text to this window.
In C++ you could write your own window class. You would then use 
character oriented I/O (getch(),putch(), etc.) to limit your I/O to
this window.
Bye
Rajesh 
...
 * ATP/Linux 1.50 * there are three things that come next, uh four... 
--- Maximus/2 3.01
---------------
* Origin: Kalptaru Net India. http://www.kalptaru.com . (6:606/31)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.