跪求视图种的析构函数源代码
跪求视图类的析构函数源代码
如题!!!!!!
------解决方案--------------------
如题!!!!!!
------解决方案--------------------
- C/C++ code
CView::~CView() { AFX_BEGIN_DESTRUCTOR // If we're the current routing view, pop the routing view stack _AFX_THREAD_STATE* pThreadState = AfxGetThreadState(); while (pThreadState->m_pRoutingView == this) pThreadState->m_pPushRoutingView->Pop(); if (m_pDocument != NULL) m_pDocument->RemoveView(this); AFX_END_DESTRUCTOR }