我想在按主窗口的某个按钮后可以让相应的子窗口调用它那个Cview(RealView)类的某个函数,刷新子窗口视图,应该怎么做? 
或者说怎么获得子窗口对应的那个RealView类 实体? 求高人指点 
相关代码: 
CMultiDocTemplate *m_pDocTemplate; 
m_pDocTemplate = new CMultiDocTemplate( 
IDR_SAFEUSERADMIN, 
RUNTIME_CLASS(TestDoc), 
RUNTIME_CLASS(RealChildFrame),// custom MDI child frame 
RUNTIME_CLASS(RealView)); 
AddDocTemplate(m_pDocTemplate); CDocument *pDoc = NULL; 
pDoc = m_pDocTemplate->OpenDocumentFile(NULL); RealView类的构造函数是在OpenDocumentFile时调用的