1. Doc -> View
CDocument::GetFirstViewPosition
CDocument::GetNextView
2. View -> Doc
CView::GetDocument
3. View -> Frame
GetParentFrame
4. Frame->Doc
GetActiveDocument
5. Doc->Frame
//AfxGetApp()->m_pMainWnd
AfxGetApp()->GetMainWnd()
6. Frame->View
GetActiveView()