csr_mv()

Moves the physical cursor to the specified location on the screen

Call  
#include <vv_sys.h>
void csr_mv(row, col)

int row

Screen row to move physical cursor to

int col Screen column to move physical cursor to
Returns

None

Description

PCDOS Systems:

csr_mv() calls vid_int() to set the physical cursor to the specified coordinates on the screen via PC BIOS INT 10H, function 2. If the specified location is off the screen, the physical cursor will disappear.

PCDOS Systems with GraphEx:

csr_mv() calls the cursor drawing function for the active video mode. The cursor drawing function is specified in the shell structure for the video mode.

OS/2 Systems:

csr_mv() calls VioSetCurPos() to position the physical cursor. If the specified location is off the video presentation space, the cursor will not be moved. Instead, VioSetCurType() is called to make the cursor invisible. If the specified location is on and the screen and the physical cursor is currently turned off, the cursor is turned back on.

Terminal-based Systems:

csr_mv() uses the appropriate command string from the terminal description to position the physical cursor. If the specified location is off the screen, the cursor will not be moved. If a cursor off string is defined in the terminal description, the physical cursor will be turned off. If the specified location is on the screen and the physical cursor is currently turned off, the cursor is turned back on.

Cautions

PCDOS Systems:

csr_mv() works only in the active video page.


Home Contents Previous Next