qpgraph.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 Procedure
  Summary Details Example                                   Back
 
  Argument
 
    attr    Word specifying start and stop line of the cursor
 
  Description
 
    The _SetTextCursor procedure sets the cursor attribute (the shape)
    to the value speecified. The high-order byte of attr determines the
    start line of the cursor. The low-order byte of attr determines the
    stop line of the cursor.
 
    _SetTextCursor uses the same format as the BIOS routines in
    setting the cursor. The cursor is made up of eight lines in all
    modes except monochrome, which has 13. Sample values for the
    cursor attribute in color text modes are shown below:
 
      Cursor    Shape
      ══════    ═════════════════
      $0707     Underline
      $0007     Full block cursor
      $0607     Double underline
      $2000     No cursor
 
    Note:  This function works only in text video modes.
 
  _GrStatus Returns
 
    _GrNotInProperMode