1. 首页
  2. 编程语言
  3. C++ 
  4. 多文档 选项卡

多文档 选项卡

上传者: 2018-12-27 03:58:37上传 RAR文件 35KB 热度 50次
void CTabMDIDemoView::OnInitialUpdate() { CView::OnInitialUpdate(); // TODO: Add your specialized code here and/or call the base class CTabMDIDemoDoc * pDoc = GetDocument(); ASSERT_VALID(pDoc); CString cs=pDoc->GetTitle(); ((CMainFrame*)AfxGetMainWnd())->m_ViewManager.AddView(cs,this); } void CTabMDIDemoView::OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView) { // TODO: Add your specialized code here and/or call the base class ((CMainFrame*)AfxGetMainWnd())->m_ViewManager.OnActivateV iew(bActivate, this); ((CMainFrame*)AfxGetMainWnd())->SendMessage(WM_SIZE); CView::OnActivateView(bActivate, pActivateView, pDeactiveView); } iew(bActivate, this); ((CMainFrame*)AfxGetMainWnd())->SendMessage(WM_SIZE); CView::OnActivateView(bActivate, pActivateView, pDeactiveView); }
下载地址
用户评论
on_my_way89829xx 2025-01-05 22:38:04

可以运行,有参考价值,学习。

cjk_75512 2024-12-31 19:15:08

资源可以执行,有一定的参考价值。和我想要的还是有很大区别。

confess6285 2025-01-04 02:22:58

东西能运行,不过不是我所要的