C Language and Libraries Help (clang.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.
_displaycursor
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The _displaycursor function controls the cursor visibility. If
     <flag> is set to _GCURSOROFF, the cursor is invisible regardless
     of its current shape and mode. If <flag> is set to _GCURSORON, the
     cursor is always visible in graphics mode. It is visible in text
     mode if it has a visible shape.
 
     In text mode, the cursor can also be made invisible by giving it
     an invisible shape (such as 0x2000) with _settextcursor.
 
     By default, the cursor is visible in text modes and invisible in
     graphics mode. If you never call _displaycursor, this default
     remains in effect whenever you change between text and graphics
     modes. Once you use _displaycursor, the cursor has the given
     setting in both graphics and text modes. You will need to call
     _displaycursor before each mode change to maintain different
     visibility.
 
     Return Value
 
     The function returns the previous value of <flag>. There is no
     error return.
                                    -♦-