// ChildFrm.cpp : implementation of the ChildFrame class // #include "stdafx.h" #include "Poetry.h" #include "ChildFrm.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // ChildFrame IMPLEMENT_DYNCREATE(ChildFrame, CMDIChildWnd) BEGIN_MESSAGE_MAP(ChildFrame, CMDIChildWnd) //{{AFX_MSG_MAP(ChildFrame) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // ChildFrame construction/destruction ChildFrame::ChildFrame() { // TODO: add member initialization code here } ChildFrame::~ChildFrame() { } BOOL ChildFrame::PreCreateWindow(CREATESTRUCT& cs) { // cs.style |= WS_MAXIMIZE | WS_VISIBLE; cs.style |= WS_VISIBLE; return CMDIChildWnd::PreCreateWindow(cs); } ///////////////////////////////////////////////////////////////////////////// // ChildFrame diagnostics #ifdef _DEBUG void ChildFrame::AssertValid() const { CMDIChildWnd::AssertValid(); } void ChildFrame::Dump(CDumpContext& dc) const { CMDIChildWnd::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // ChildFrame message handlers