我建了一个基于CFormView的视图CUSERGROUPVIEW 和CDocument的文档CUSERGROUPDoc //生成基础数据-用户组视图 m_pBaseUGCOntext.m_pCurrentDoc = new CUSERGROUPDoc; m_pBaseUGCOntext.m_pNewViewClass = RUNTIME_CLASS(CUSERGROUPVIEW); m_pBaseUGView = (CUSERGROUPVIEW*)((CFrameWnd*)pWnd)->CreateView(&m_pBaseUGCOntext); m_pBaseUGView->ShowWindow(SW_HIDE); 不知为何不执行OnInitialUpdate初始化?谢谢各位