Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Another way would be to directly tell the display-driver to hide/show the cursor. This can be done through the Drvlib-functions CursorOn and CursorOff. Actually, you can only tell the display driver to not draw the cursor or to allow the OS to draw it. If the cursor is hidden because the counter-value is equal to or below zero, CursorOn will not show it. If you encounter this you might want to call:

Code Block
while( ShowCursor( TRUE) < 0));

See the Download-section for a sample, which uses the drvlib_app.dll-functions.

...