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>getbkmode()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetBkMode()
Get the current background mode
------------------------------------------------------------------------------

Syntax
GetBkMode( <hDC> )   -->   nMode

Arguments
<hDC> specifies the device context.

Returns
The returned value is an integer representing the current
background mode (one of OPAQUE or TRANSPARENT).

Description
This function returns the current background mode, which
determines what GDI does with the existing background
colour(s) when outputting text, when there are gaps in styled
lines, or hatching in brushes.

The mode values are:

     Mode           means

    OPAQUE          the background is filled with the current background
                    colour  (this is the default)

    TRANSPARENT     the background is unchanged

Example
nCurrentBgMode = GetBkMode( hDC )


See Also: GetBkColor() GetDC() SetBkMode()

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