[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  SetBkMode( hDC, nNewBkMode  )-> <nPrevBkMode>
------------------------------------------------------------------------------


 PARAMETER:

  <hDC>         Is the handle for the device Context

  <nNewBkMode>  Numeric value specifying one of the followings background
                modes:

                TRANSPARENT [1], background is not changed before drawing

                OPAQUE      [2], background is filled with the current
                            background color before the text, hatched brush
                            or pen is drawn. This is the default background
                            mode.

 RETURNS:

  <nPrevBkMode> this return value is the previous background mode, if the
  function is successful.


 DESCRIPTION:

  SetBkMode() sets the specified background mode. This mode defines whether
  the system removes existing background colors on the drawing surface
  before drawing text, hatched brushes or any pen style that is not a solid
  line.

 SOURCE:

  SOURCE\WINAPI\COLOR.C



See Also: GetBkMode SetBkColor hDC
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson