Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.4 KiB

  1. // ChildFrm.cpp : implementation of the CChildFrame class
  2. //
  3. #include "StdAfx.h"
  4. #include "watcher.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