Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>getbkcolor()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetBkColor()
Get the current background colour
------------------------------------------------------------------------------

Syntax
GetBkColor( <hDC> )   -->   nColour

Arguments
<hDC> specifies the device context for a window.

Returns
The return value is a colour value (corresponding to colours
produced by the RGB() macro).

Description
This function returns the current background colour, which is
used for filling gaps in styled lines, hatching in brushes,
and the background when text is displayed.

Example
nCurrentBgColour = GetBkColor( hDC )


See Also: GetBValue() GetDC() GetGValue() GetNearestColor() GetRValue() GetTextColor() RGB() SetBkColor() SetTextColor()

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