2011年3月20日
摘要: (1)在MFC中的多文档工程中得到当前文档CMDIFrameWnd *pFrame = (CMDIFrameWnd*)AfxGetApp()->m_pMainWnd; CMDIChildWnd *pChild = (CMDIChildWnd *)pFrame->GetActiveFrame();CView *pV = (CView*)pChild->GetActiveView();CDocument* pDoc = pV->GetDocument();(2)在MFC中的多文档工程中遍历所有文档POSITION pos = theApp.GetFirstDocTempla 阅读全文
posted @ 2011-03-20 05:30 Jiang, X. 阅读(2112) 评论(0) 推荐(0) 编辑