ScrollScreenArea

Sets up a scroll area on the screen.

Library:LibC
Classification:NetWare OS
Service:Screen Support

Syntax

  #include <screen.h> 
   
  int ScrollScreenArea (
     scr_t      scrID,
     uint32_t   line,
     uint32_t   col,
     uint32_t   height,
     uint32_t   width,
     uint32_t   count,
     uint8_t    newLineAttribute,
     scroll_t   direction);
  

Parameters

scrID

(IN) Specifies the screen.

line

(IN) Specifies the position on the screen by specifying a line number.

col

(IN) Specifies the position on the screen by specifying a column number.

height

(IN) Specifies the height of the area, in increments of lines.

width

(IN) Specifies the width of the area, in increments of columns.

newLineAttribute

(IN) Specifies a line attribute.

direction

(IN) Specifies the direction of the scroll bar.

Flag

Value

SCROLL_DOWN

0

SCROLL_UP

1

Return Values

If successful, returns 0.