Supported Browsers Home   
PM_setOSCursorLocation Previous   
PM_setRealTimeClockFrequency Next   
External Functions Up   

PM_setOSScreenWidth

Set the dimensions of the OS text mode console.

Declaration

void PM_setOSScreenWidth(
    int width,
    int height);
void    PMAPI PM_setOSScreenWidth(int width,int height)

Prototype In

pmapi.h

Parameters

width

New width of the OS text mode console

height

New height of the OS text mode console

 

Description

This function set the width and height of the OS text mode console. This should be done if some method other than OS provided functions is used to change the console mode (ie: 80x50 or 80x60 instead of 80x25), so that the operating system functions themselves will know how to output to the new mode. This function is valid only for operating systems that support running in console modes (DOS, Linux, OS/2 etc).

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com