Introduction - If you have any usage issues, please Google them yourself
I tested source, used for setting the window background color is black (or other color), MFC and a non-MFC, it is still the dialog background and the background of four sets of source files
Packet : 10523034020060520setbackcolor.rar filelist
20060520SetBackColor\SetDocBackColor\SetDocBackColor.clw
20060520SetBackColor\SetDocBackColor\ReadMe.txt
20060520SetBackColor\SetDocBackColor\SetDocBackColor.h
20060520SetBackColor\SetDocBackColor\SetDocBackColor.cpp
20060520SetBackColor\SetDocBackColor\StdAfx.h
20060520SetBackColor\SetDocBackColor\StdAfx.cpp
20060520SetBackColor\SetDocBackColor\MainFrm.h
20060520SetBackColor\SetDocBackColor\MainFrm.cpp
20060520SetBackColor\SetDocBackColor\SetDocBackColorDoc.h
20060520SetBackColor\SetDocBackColor\SetDocBackColorDoc.cpp
20060520SetBackColor\SetDocBackColor\res\SetDocBackColor.rc2
20060520SetBackColor\SetDocBackColor\res\SetDocBackColorDoc.ico
20060520SetBackColor\SetDocBackColor\res\SetDocBackColor.ico
20060520SetBackColor\SetDocBackColor\res\Toolbar.bmp
20060520SetBackColor\SetDocBackColor\res
20060520SetBackColor\SetDocBackColor\Resource.h
20060520SetBackColor\SetDocBackColor\SetDocBackColor.rc
20060520SetBackColor\SetDocBackColor\SetDocBackColor.dsp
20060520SetBackColor\SetDocBackColor\SetDocBackColor.dsw
20060520SetBackColor\SetDocBackColor\SetDocBackColor.ncb
20060520SetBackColor\SetDocBackColor\Debug\SetDocBackColor.exe
20060520SetBackColor\SetDocBackColor\Debug
20060520SetBackColor\SetDocBackColor\SetDocBackColor.plg
20060520SetBackColor\SetDocBackColor\SetDocBackColor.aps
20060520SetBackColor\SetDocBackColor\SetDocBackColorView.h
20060520SetBackColor\SetDocBackColor\SetDocBackColorView.cpp
20060520SetBackColor\SetDocBackColor\SetDocBackColor.opt
20060520SetBackColor\SetDocBackColor
20060520SetBackColor\NOMFC_SetAboutBackColor\StdAfx.h
20060520SetBackColor\NOMFC_SetAboutBackColor\StdAfx.cpp
20060520SetBackColor\NOMFC_SetAboutBackColor\resource.h
20060520SetBackColor\NOMFC_SetAboutBackColor\NOMFC_SetAboutBackColor.h
20060520SetBackColor\NOMFC_SetAboutBackColor\small.ico
20060520SetBackColor\NOMFC_SetAboutBackColor\NOMFC_SetAboutBackColor.ico
20060520SetBackColor\NOMFC_SetAboutBackColor\NOMFC_SetAboutBackColor.rc
20060520SetBackColor\NOMFC_SetAboutBackColor\ReadMe.txt
20060520SetBackColor\NOMFC_SetAboutBackColor\NOMFC_SetAboutBackColor.dsw
20060520SetBackColor\NOMFC_SetAboutBackColor\NOMFC_SetAboutBackColor.ncb
20060520SetBackColor\NOMFC_SetAboutBackColor\NOMFC_SetAboutBackColor.aps
20060520SetBackColor\NOMFC_SetAboutBackColor\NOMFC_SetAboutBackColor.plg
20060520SetBackColor\NOMFC_SetAboutBackColor\NOMFC_SetAboutBackColor.dsp
20060520SetBackColor\NOMFC_SetAboutBackColor\Debug\NOMFC_SetAboutBackColor.exe
20060520SetBackColor\NOMFC_SetAboutBackColor\Debug
20060520SetBackColor\NOMFC_SetAboutBackColor\NOMFC_SetAboutBackColor.cpp
20060520SetBackColor\NOMFC_SetAboutBackColor\NOMFC_SetAboutBackColor.opt
20060520SetBackColor\NOMFC_SetAboutBackColor
20060520SetBackColor\SetDlgBackColor\SetDlgBackColor.clw
20060520SetBackColor\SetDlgBackColor\ReadMe.txt
20060520SetBackColor\SetDlgBackColor\SetDlgBackColor.h
20060520SetBackColor\SetDlgBackColor\SetDlgBackColor.cpp
20060520SetBackColor\SetDlgBackColor\StdAfx.h
20060520SetBackColor\SetDlgBackColor\StdAfx.cpp
20060520SetBackColor\SetDlgBackColor\res\SetDlgBackColor.rc2
20060520SetBackColor\SetDlgBackColor\res\SetDlgBackColor.ico
20060520SetBackColor\SetDlgBackColor\res
20060520SetBackColor\SetDlgBackColor\SetDlgBackColor.dsp
20060520SetBackColor\SetDlgBackColor\SetDlgBackColor.dsw
20060520SetBackColor\SetDlgBackColor\SetDlgBackColor.ncb
20060520SetBackColor\SetDlgBackColor\Debug\SetDlgBackColor.exe
20060520SetBackColor\SetDlgBackColor\Debug
20060520SetBackColor\SetDlgBackColor\SetDlgBackColor.plg
20060520SetBackColor\SetDlgBackColor\SetDlgBackColorDlg.h
20060520SetBackColor\SetDlgBackColor\SetDlgBackColorDlg.cpp
20060520SetBackColor\SetDlgBackColor\Resource.h
20060520SetBackColor\SetDlgBackColor\SetDlgBackColor.aps
20060520SetBackColor\SetDlgBackColor\SetDlgBackColor.rc
20060520SetBackColor\SetDlgBackColor\SetDlgBackColor.opt
20060520SetBackColor\SetDlgBackColor
20060520SetBackColor\NOMFC_SetWindowBackColor\StdAfx.h
20060520SetBackColor\NOMFC_SetWindowBackColor\StdAfx.cpp
20060520SetBackColor\NOMFC_SetWindowBackColor\resource.h
20060520SetBackColor\NOMFC_SetWindowBackColor\NOMFC_SetWindowBackColor.h
20060520SetBackColor\NOMFC_SetWindowBackColor\small.ico
20060520SetBackColor\NOMFC_SetWindowBackColor\NOMFC_SetWindowBackColor.ico
20060520SetBackColor\NOMFC_SetWindowBackColor\NOMFC_SetWindowBackColor.rc
20060520SetBackColor\NOMFC_SetWindowBackColor\ReadMe.txt
20060520SetBackColor\NOMFC_SetWindowBackColor\NOMFC_SetWindowBackColor.dsw
20060520SetBackColor\NOMFC_SetWindowBackColor\NOMFC_SetWindowBackColor.ncb
20060520SetBackColor\NOMFC_SetWindowBackColor\Debug\NOMFC_SetWindowBackColor.exe
20060520SetBackColor\NOMFC_SetWindowBackColor\Debug
20060520SetBackColor\NOMFC_SetWindowBackColor\NOMFC_SetWindowBackColor.aps
20060520SetBackColor\NOMFC_SetWindowBackColor\NOMFC_SetWindowBackColor.plg
20060520SetBackColor\NOMFC_SetWindowBackColor\NOMFC_SetWindowBackColor.cpp
20060520SetBackColor\NOMFC_SetWindowBackColor\NOMFC_SetWindowBackColor.dsp
20060520SetBackColor\NOMFC_SetWindowBackColor\NOMFC_SetWindowBackColor.opt
20060520SetBackColor\NOMFC_SetWindowBackColor
20060520SetBackColor