TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: Paul Rider
date: 1995-08-14 00:10:12
subject: Vio Screen Modes.

Hello Peter,

 PR> small example of switching screen resolutions. I need 
 PR> something to detect the current screen resolution, 
. . . snip
 PF> Tip:  if you are writing a text mode app,  by default 
 PF> always be prepared to use the video mode the user has 
 PF> set up.  Setting the mode under os/2 can be much more 
 PF> than just setting the number of rows&cols;  the density 

I'm writting (actually porting, with enhancements) a programmer's editor
that I wrote a few years ago for dos. I am not seasoned in the ways of Os/2
entirely, so am sure some problems will come up with the font thing you
mentioned when it's in a windowed session.

 PF> nb: the sample programs above were written for a 16bit 
 PF> compiler,  but I can't see anything that would give you 
 PF> a problem for Watcom or Cset++.

. . .BCC 2.0, but you've given me more than enough information.
                       Thanks
                                Paul Rider.

--- Maximus/2 2.02
* Origin: Rodent! Bbs ( Os/2 ) (1:163/427)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 163/427 335 506 99 12/12 3615/50 396/1 270/101 105/103 42 712/515
@PATH: 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

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™.