Introduction - If you have any usage issues, please Google them yourself
Multi-document window in the application main frame, can change the window background, make the program look more professional, the window to change the background can not simply use ClassWizard overloaded OnEraseBkgnd (CDC* pDC) function of the method implementation. For multi-document window application the main frame window class background area is a MDIClient window, so to change the background of the window with this MDIClient the class. MDIClient class handle of the window is m_hWndMDIClient (in CMDIFrameWnd in)