pview专题

SDI中pDoc获得pView方法

以前一直通过pMainWnd中转 其实可以写个函数调用  .h CView* GetView(CRuntimeClass* pClass); .cpp CView* CxxxDoc::GetView(CRuntimeClass* pClass){CView* pView;POSITION pos = GetFirstViewPosition();while(pos != N