C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_getbkcolor
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The _getbkcolor function returns the current background color. The
     default background color is 0.
 
     In a color text mode (such as _TEXTC80), _getbkcolor returns a
     color index. In a color graphics mode (such as _ERESCOLOR),
     _getbkcolor returns a color value (as used in _remappalette).
     See Graphic Mode Colors
 
     In most cases, whenever a color argument is long, it refers to a
     color value; and whenever it is short, it refers to an attribute
     or color index. The two exceptions are _setbkcolor and
     _getbkcolor.
 
     Return Value
 
     The function returns the current background color value. There is
     no error return.
                                    -♦-