Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
setvideomoderows
◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The setvideomoderows function selects a screen mode for a
particular hardware/display combination. The symbolic constants for
<mode> are given in the reference screen for setvideomode. The
the <rows> argument specifies the number of text rows to be used
in a text mode.
If the constant $MAXTEXTROWS is specified for the <rows> argument,
the function will choose the maximum number of rows available. In
text modes, this is 50 on the VGA, 43 on EGA, and 25 on others. In
graphics modes that support 30 or 60 rows, $MAXTEXTROWS specifies
60 rows.
Return Value
This function returns the number of rows set. The function returns
0 if an error occurred (e.g., if the mode is not supported).
-♦-