用了splitterwnd的sdi中,如何在一个view中获得另一个view ?? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以通过mainframe例如在mainframe中添加CView * view1;CView * view2;在View中添加CView * otherview然后在mainframe中getactiveview()->otherview=view1;:) CDocument::GetNextView virtual CView* GetNextView( POSITION& rPosition ) const; 推荐的方法:通过函数传递指针当然也可直接调用: CMainFrame* MainFrame = (CMainFrame*)this->GetParent()->GetParent() CFrmPlayer * flashPlayer = (CFrmPlayer*)MainFrame->m_wndSplitter1.GetPane(0, 0); 关于BMP图片的显示?? VC调试 关于LPDispatch的问题 请问如何获取所点击菜单的id 如何查找资源泄漏? 求上取整函数,解决方案(你认为最好的,为什么) 跆拳道女子负67公斤级夺金,散分! 一条串口指令"AT+CMGR=2",我要直接用acii码直接发送给串口.该发什么数据?急急急急!!!!!!!!! project option中的这些字符串都是什么意思啊,我想很多新手都想知道的 为什么我用SetWindowRgn创建不规则按钮没效果 请问谁能给我一份用directdraw播放视频流文件的例子?? 急!如何实现屏幕拷贝
例如在mainframe中添加
CView * view1;
CView * view2;在View中添加
CView * otherview然后在mainframe中
getactiveview()->otherview=view1;:)
virtual CView* GetNextView( POSITION& rPosition ) const;
当然也可直接调用:
CMainFrame* MainFrame = (CMainFrame*)this->GetParent()->GetParent()
CFrmPlayer * flashPlayer = (CFrmPlayer*)MainFrame->m_wndSplitter1.GetPane(0, 0);