INF:_setvideomoderows() with _VRES2COLOR or _VRES16COLOR Mode

ID Number: Q61606

5.00 5.10 6.00 6.00a 6.00ax 7.00 | 5.10 6.00 6.00a

MS-DOS | OS/2

Summary:

In Microsoft C versions 5.0, 5.1, 6.0, 6.0a, 6.0ax, and C/C++ version

7.0 when using _VRES2COLOR or _VRES16COLOR as a parameter for the

function _setvideomode(), it is important to note that these modes

supports only 30 and 60 lines. Therefore, when a call to

_setvideomoderows() is made, the expected value returned should be

either decimal 30 or 60.

Problems relating to 30- and 60-line support occur most commonly when

setting the text position using the _settextposition() routine. For

example, if you set text to the center of the screen, you will notice

that the text seems to be printed four lines above the center.

Additional reference words: 5.00 5.10 6.00 6.00a 6.00ax