The relationship between the role of MFC document templates View Doc Frame

 View and Doc to manage (this knowledge to meet, compare check, will accelerate the speed of reading the code) from the Frame. The document template DocTemplate the three linked up.

Single document frame window with CFrameWnd, CMDIChildWnd with CMDIFrameWnd and multi-document.

MDI child windows (the CMDIFrameWnd) typical frame window (the CMDIFrameWnd) are very similar, the only difference is that the MDI child window is present in MDI frame window, rather than the desktop on.

MDI child window does not own menu bar, but it can be shared MDI frame window. Frame automatically changes the MDI menu frame to represent the currently active MDI child window.

 

 

Guess you like

Origin www.cnblogs.com/Stephen-Qin/p/12115249.html