graphics.hlp (Topic list)
_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).
                                    -♦-