ChildFrm.cpp 905 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // ChildFrm.cpp : implementation of the CChildFrame class
  2. //
  3. #include "stdafx.h"
  4. #include "mfc1.h"
  5. #include "ChildFrm.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #endif
  9. // CChildFrame
  10. IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWnd)
  11. BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd)
  12. END_MESSAGE_MAP()
  13. // CChildFrame construction/destruction
  14. CChildFrame::CChildFrame()
  15. {
  16. // TODO: add member initialization code here
  17. }
  18. CChildFrame::~CChildFrame()
  19. {
  20. }
  21. BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
  22. {
  23. // TODO: Modify the Window class or styles here by modifying the CREATESTRUCT cs
  24. if( !CMDIChildWnd::PreCreateWindow(cs) )
  25. return FALSE;
  26. return TRUE;
  27. }
  28. // CChildFrame diagnostics
  29. #ifdef _DEBUG
  30. void CChildFrame::AssertValid() const
  31. {
  32. CMDIChildWnd::AssertValid();
  33. }
  34. void CChildFrame::Dump(CDumpContext& dc) const
  35. {
  36. CMDIChildWnd::Dump(dc);
  37. }
  38. #endif //_DEBUG
  39. // CChildFrame message handlers