msos2.hlp (Table of Contents; Topic list)
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.
VIOCURSORINFO (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_VIO
 
typedef struct _VIOCURSORINFO {    /* vioci */
    USHORT yStart;
    USHORT cEnd;
    USHORT cx;
    USHORT attr;
} VIOCURSORINFO;
 
The VIOCURSORINFO structure contains information about the cursor.
 
Field   Description
────────────────────────────────────────────────────────────────────────────
 
yStart  Specifies the horizontal scan line that marks the top line of the
        cursor. Scan lines are numbered from 0 to n-1, where n is the
        maximum height of a character cell. Scan line 0 is at the top of the
        character cell.
 
cEnd    Specifies the horizontal scan line that marks the bottom line of the
        cursor.
 
cx      Specifies the width of the cursor in columns (for text mode) or in
        pels (for graphics mode). The maximum width in text mode is 1. If
        zero is given, the function uses a default width: 1 for text mode or
        the width of a character cell for graphics mode.
 
attr    Specifies the attribute of the cursor. If this field is 0xFFFF, the
        function hides the cursor (removes it from the screen). Any other
        value sets the current character attribute of the cursor.
 
See Also
 
VioGetCurType, VioSetCurType