beautypg.com

Paxar Gold 6037EX User Manual

Page 143

background image

Function Reference 4-107

v i d S c r o l l

Description

Does either of the following to the current display page:

♦ Sets the display to ASCII space characters in either normal

or reverse video.

♦ Scrolls the specified window up or down by a specified

number of lines. The application loses any text that scrolls
beyond the window’s top or bottom. New lines contain ASCII
blank characters with the specified attribute.

The specified window is the entire display or part of it.

Syntax

void far vidScroll(short sTop,

short sLeft,

short sBottom,

short sRight,

short sNumber,

unsigned char uchAttr);

Parameters

sTop

The window’s top row. For 4-row printers, values are

0-

3. For 8-row printers, values are 0-7.

sLeft

The window’s left-most column. Values are

0-19.

sBottom

The window’s bottom row. For 4-row printers, values
are

0-3. For 8-row printers, values are 0-7.

sRight

The window’s right-most column. Values are

0-19.

sNumber

The action. If you enter 0, the function clears the entire
display. If you enter a positive number, the window
scrolls up that many lines. If you enter a negative
number, the window scrolls down that many lines.

uchAttr

Attribute for the cleared area or new lines when
scrolling. Values are:

0x07 Normal

video

0x70 Reverse

video