1 /*---------------------------------------------------------------------------* 2 Project: HIO2 demos - multi 3 File: ChildFrm.cpp 4 5 (C)2005 HUDSON SOFT 6 7 $Header: /home/cvsroot/SDK/build/demos/hio2demo/vc++/multi/ChildFrm.cpp,v 1.3 2006/03/15 06:31:26 mitu Exp $ 8 9 $NoKeywords: $ 10 *---------------------------------------------------------------------------*/ 11 12 // ChildFrm.cpp : implementation of the CChildFrame class 13 // 14 #include "stdafx.h" 15 #include "multi.h" 16 17 #include "ChildFrm.h" 18 19 #ifdef _DEBUG 20 #define new DEBUG_NEW 21 #endif 22 23 24 // CChildFrame 25 IMPLEMENT_DYNCREATE(CChildFrame,CMDIChildWnd)26IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWnd) 27 28 BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd) 29 END_MESSAGE_MAP() 30 31 32 // CChildFrame construction/destruction 33 34 CChildFrame::CChildFrame() 35 { 36 // TODO: add member initialization code here 37 } 38 ~CChildFrame()39CChildFrame::~CChildFrame() 40 { 41 } 42 43 PreCreateWindow(CREATESTRUCT & cs)44BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs) 45 { 46 // TODO: Modify the Window class or styles here by modifying the CREATESTRUCT cs 47 if( !CMDIChildWnd::PreCreateWindow(cs) ) 48 return FALSE; 49 50 return TRUE; 51 } 52 53 54 // CChildFrame diagnostics 55 56 #ifdef _DEBUG AssertValid() const57void CChildFrame::AssertValid() const 58 { 59 CMDIChildWnd::AssertValid(); 60 } 61 Dump(CDumpContext & dc) const62void CChildFrame::Dump(CDumpContext& dc) const 63 { 64 CMDIChildWnd::Dump(dc); 65 } 66 67 #endif //_DEBUG 68 69 70 // CChildFrame message handlers 71