??

解决方案 »

  1.   

    可以通过mainframe
    例如在mainframe中添加
    CView * view1;
    CView * view2;在View中添加
    CView * otherview然后在mainframe中
    getactiveview()->otherview=view1;:)
      

  2.   

    CDocument::GetNextView 
    virtual CView* GetNextView( POSITION& rPosition ) const;
      

  3.   

    推荐的方法:通过函数传递指针
    当然也可直接调用:
    CMainFrame* MainFrame = (CMainFrame*)this->GetParent()->GetParent()
        CFrmPlayer * flashPlayer = (CFrmPlayer*)MainFrame->m_wndSplitter1.GetPane(0, 0);