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.

71 lines
1.4 KiB

  1. // ChildFrm.cpp : implementation of the CChildFrame class
  2. //
  3. #include "stdafx.h"
  4. #include "wiatest.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. }
  25. CChildFrame::~CChildFrame()
  26. {
  27. }
  28. BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
  29. {
  30. // TODO: Modify the Window class or styles here by modifying
  31. // the CREATESTRUCT cs
  32. if( !CMDIChildWnd::PreCreateWindow(cs) )
  33. return FALSE;
  34. return TRUE;
  35. }
  36. /////////////////////////////////////////////////////////////////////////////
  37. // CChildFrame diagnostics
  38. #ifdef _DEBUG
  39. void CChildFrame::AssertValid() const
  40. {
  41. CMDIChildWnd::AssertValid();
  42. }
  43. void CChildFrame::Dump(CDumpContext& dc) const
  44. {
  45. CMDIChildWnd::Dump(dc);
  46. }
  47. #endif //_DEBUG
  48. /////////////////////////////////////////////////////////////////////////////
  49. // CChildFrame message handlers