Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>disp_hidecursor</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
disp_hidecursor

Usage

   #include <disp.h>
   void disp_hidecursor(void);

Description

   Hides the hardware cursor via a call to the BIOS. A call to
   disp_showcursor is required to redisplay it. Multiple calls to
   disp_hidecursor are nested such that an equal number of calls to
   disp_showcursor are required before the cursor is restored.


Example 

   #include <conio.h>
   #include <disp.h>
   #include <stdlib.h>

   int main()
   {
       disp_open();
       disp_move(0,0);
       disp_eeop();
       disp_printf("Press any key to hide the cursor\n");
       disp_flush();
       getch();
       disp_hidecursor();
       disp_printf("Press any key to show the cursor\n");
       disp_flush();
       getch();
       disp_showcursor();
       disp_printf("Press any key to exit");

       disp_flush();
       getch();
       disp_close();
       return EXIT_SUCCESS;
   }

See Also

   Display package, disp_showcursor



See Also: disp_showcursor

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