Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>_settextcursor() set the text cursor shape</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _settextcursor()        Set the text cursor shape

 #include   <graph.h>

 short _settextcursor(attr);
 short attr;

    _settextcursor() allows you to set the text cursor's shape on the
    screen. The values you pass are the same as you would pass to the
    corresponding BIOS call; attr's high byte determines the start line
    of the cursor and the low byte determines the stop line. For
    example, 0x0707 produces a simple underline cursor, and 0x0607 is a
    double underline.

    Returns:    Previous cursor attribute if successful, -1 if not.

    Notes:      A value of 0x2000 yields no cursor at all.

 Portability:   Not supported by the ANSI standard.


See Also: _displaycursor() _gettextcursor()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson