Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>_gtdispcount()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _gtDispCount()
 Return the number of pending _gtDispEnd() requests
------------------------------------------------------------------------------
 C Prototype

     #include "gt.api"
     USHORT _gtDispCount(void)

 Returns

     _gtDispCount() returns the number of pending _gtDispEnd() requests as an
     unsigned short integer value.

 Description

     _gtDispCount() determines the number of nested gtDispBegin() calls that
     have been made.  Since you may nest _gtDispBegin(), ... , _gtDispEnd()
     calls, use _gtDispCount() to determine whether there are pending screen
     refresh requests.

 Examples

     .  This example releases all pending display contexts:

        #include "gt.api"

        void ForceDisplay( void );

        void ForceDisplay( void )
        {
           // Display all pending buffers
           while ( _gtDispCount() > 0 )
              _gtDispEnd();
        }

 Files  Library is CLIPPER.LIB, header file is Gt.api.


See Also: _gtDispBegin() _gtDispEnd()

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