[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson