Introduction - If you have any usage issues, please Google them yourself
Framework shown in a View. Through the menu or button to switch into a different view. Assuming there are three view: CViewA, CViewB, CViewC. Three constants that they do not show when the control ID.enum eView (ViewA, ViewB, ViewC) to add the following in CMainFrame can realize a function of switching a different window. Very easy to understand, the only did not say is CCreateContext context, it is per-Create a view must be set. In fact, that is, m_pCurrentDoc this point to the current document class needs to set the pointer, the other from the default value of it.