// ChildFrm.cpp: CChildFrame 类的实现 // #include "pch.h" #include "framework.h" #include "MTerm1.h" #include "ChildFrm.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CChildFrame IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWndEx) BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWndEx) END_MESSAGE_MAP() // CChildFrame 构造/析构 CChildFrame::CChildFrame() noexcept { // TODO: 在此添加成员初始化代码 } CChildFrame::~CChildFrame() { } BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs) { // TODO: 在此处通过修改 CREATESTRUCT cs 来修改窗口类或样式 if( !CMDIChildWndEx::PreCreateWindow(cs) ) return FALSE; return TRUE; } // CChildFrame 诊断 #ifdef _DEBUG void CChildFrame::AssertValid() const { CMDIChildWndEx::AssertValid(); } void CChildFrame::Dump(CDumpContext& dc) const { CMDIChildWndEx::Dump(dc); } #endif //_DEBUG // CChildFrame 消息处理程序