Microsoft Foundation Classes (mfc.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.
CDC::GetBkColor
CDC                                         Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  DWORD GetBkColor() const;
 
  Remarks
 
  Returns the current background color. If the background mode is OPAQUE,
  the system uses the background color to fill the gaps in styled lines,
  the gaps between hatched lines in brushes, and the background in
  character cells. The system also uses the background color when
  converting bitmaps between color and monochrome device contexts.
 
  Return Value
 
  An RGB color value.
 
  See Also
 
  CDC::GetBkMode, CDC::SetBkColor, CDC::SetBkMode, ::GetBkColor
 
 
                                     -♦-