ChildFrm.cpp 914 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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
  24. // cs
  25. if (!CMDIChildWnd::PreCreateWindow(cs))
  26. return FALSE;
  27. return TRUE;
  28. }
  29. // CChildFrame diagnostics
  30. #ifdef _DEBUG
  31. void CChildFrame::AssertValid() const
  32. {
  33. CMDIChildWnd::AssertValid();
  34. }
  35. void CChildFrame::Dump(CDumpContext& dc) const
  36. {
  37. CMDIChildWnd::Dump(dc);
  38. }
  39. #endif //_DEBUG
  40. // CChildFrame message handlers