gordon's note coding MFC 溝通

MFC 溝通

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()

 

 
#mfc #cpp

Leave a Reply

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

Related Post