MDI中通过GetActiveView获得VIEW
摘要:
CMDIFrameWnd *pFrame = (CMDIFrameWnd *)AfxGetApp()->m_pMainWnd; // Get the active MDI child window. CMDIChildWnd *pChild = (CMDIChildWnd *) pFrame->GetActiveFrame(); /* or CMDIChildWnd *pChild = pFrame->MDIGetActive(); */ // Get the active view attached to the active MDI child window. CBusC 阅读全文
posted @ 2012-10-24 16:34 burellow 阅读(608) 评论(0) 推荐(0)
浙公网安备 33010602011771号