TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Paul Rider
from: Jonathan de Boyne Pollard
date: 1995-08-18 09:36:44
subject: Screen.Mode();

PR>
  >         Question was: Does anyone have a quick example of
  > changing screen resolutions in an os/2 Dos Fullscreen
  > session? This is what I'm going to have to accomplish:  1)
  > Saving the info about the screen upon program start,
  >                 2) Allowing the user to switch resolutions like maybe
  >                   (80,43),(80,50),(132,43)
  >                 - perhaps something to detect available modes
  >                 3) Restoring the original screen
PR>

  Some years ago, I ported the Family API VIO calls to DOS for use with
  16:16 DOS languages (such as Visual BASIC and Borland C++).  The
  library should still be available as FAMAPI.ARJ at all good files sites.

  The benefit of using VIO, of course, is that your code should then
  easily migrate to OS/2 text-mode programs (which is really the better
  place to start *anyway* ...).

  > JdeBP <
___
 X MegaMail 2.10 #0:

--- Maximus/2 3.00
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
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: 440/4 141/209 270/101 105/103 42 712/515 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™.