Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>pop cursor state from the stack.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Pop cursor state from the stack.
------------------------------------------------------------------------------

 Syntax

        GT_POPCUR() -> <nOldState>

 Arguments:

 Returns:

      <nOldState> is the state of the cursor before any changes are
      applied.

 Description:

      This function pops the current cursor state off a stack, having
      previously been placed there by calling GT_PUSHCUR().

      This is used to restore the cursor shape after a temporary change.

      It is important to pop the stack as many times as you push it,
      otherwise you may get the wrong cursor shape back.

 Examples:

      GT_PUSHCUR(SC_NONE)   // push cursor and turn it off
        ..code..            // do something, maybe display a message
        ...
      GT_POPCUR()           // restore cursor

 Header File: SETCURS.CH  GT_LIB.CH

 Source: GTCURS.PRG

 Author:  Philip Ide

See Also: GT_PUSHCUR()

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