文档类中获取视类指针
POSITION POS=this->GetFirstViewPosition();
C**View *pView=(C**View*)GetNextViewPos(POS);
框架类中获取视类 GetActiveView();
获取框架类指针AfxGetApp()->m_pMainWnd;如果是在视类中获取的话可以getparent();
文档类中获取视类指针
POSITION POS=this->GetFirstViewPosition();
C**View *pView=(C**View*)GetNextViewPos(POS);
框架类中获取视类 GetActiveView();
获取框架类指针AfxGetApp()->m_pMainWnd;如果是在视类中获取的话可以getparent();