I would like to ask you prawns, how can I find the handle of the child window (generated by MFC), and then realize the control of the content of the child window, thank you!!!
1. Get the current Active View: CView* pActiveView = pMainFrame->GetActiveView();
2. Get all:
POSITION pos = m_pDocManager->GetFirstDocTemplatePosition();
CDocTemplate* pTemplate = m_pDocManager->GetNextDocTemplate(pos);
POSITION docPos = pTemplate->GetFirstDocPosition();
CDocument* pDoc = pTemplate->GetNextDoc(docPos);
POSITION viewPos = pDoc->GetFirstViewPosition();
CView* pView = pDoc->GetNextView(viewPos);