graphics.hlp (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.
_settextcursor
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The _settextcursor function sets the cursor attribute (i.e., the
     shape) to the value specified by the <attr> argument. The
     high-order byte of <attr> determines the start line of the cursor
     within the character cell. The low-order byte of <attr> determines
     the stop line of the cursor.
 
     The _settextcursor function uses the same format as the BIOS
     routines in setting the cursor. Values for the cursor attribute
     are shown below:
 
     Cursor     Shape
 
     0x0707     Underline
     0x0007     Full block cursor
     0x0607     Double underline
     0x2000     No cursor
 
     Note that this function works only in text video modes.
 
     Return Value
 
     The function returns the previous cursor attribute, or -1 if an
     error occurs (such as calling the function in a graphics screen
     mode).
                                    -♦-