ChildFrm.cpp 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // ChildFrm.cpp : implementation of the CChildFrame class
  2. //
  3. #include "stdafx.h"
  4. #include "EastDraw.h"
  5. #include "ChildFrm.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CChildFrame
  13. IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWnd)
  14. BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd)
  15. //{{AFX_MSG_MAP(CChildFrame)
  16. // NOTE - the ClassWizard will add and remove mapping macros here.
  17. // DO NOT EDIT what you see in these blocks of generated code !
  18. //}}AFX_MSG_MAP
  19. END_MESSAGE_MAP()
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CChildFrame construction/destruction
  22. CChildFrame::CChildFrame()
  23. {
  24. // TODO: add member initialization code here
  25. }
  26. CChildFrame::~CChildFrame()
  27. {
  28. }
  29. BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
  30. {
  31. // TODO: Modify the Window class or styles here by modifying
  32. // the CREATESTRUCT cs
  33. if( !CMDIChildWnd::PreCreateWindow(cs) )
  34. return FALSE;
  35. return TRUE;
  36. }
  37. /////////////////////////////////////////////////////////////////////////////
  38. // CChildFrame diagnostics
  39. #ifdef _DEBUG
  40. void CChildFrame::AssertValid() const
  41. {
  42. CMDIChildWnd::AssertValid();
  43. }
  44. void CChildFrame::Dump(CDumpContext& dc) const
  45. {
  46. CMDIChildWnd::Dump(dc);
  47. }
  48. #endif //_DEBUG
  49. /////////////////////////////////////////////////////////////////////////////
  50. // CChildFrame message handlers