home *** CD-ROM | disk | FTP | other *** search
- // ScrChild.cpp : implementation of the CScrChild class
- //
-
- #include "stdafx.h"
- #include "ScrDemo.h"
- #include "ScrChild.h"
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
- // CScrChild
-
- IMPLEMENT_DYNCREATE(CScrChild, CMDIChildWnd)
-
- BEGIN_MESSAGE_MAP(CScrChild, CMDIChildWnd)
- //{{AFX_MSG_MAP(CScrChild)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
-
- /////////////////////////////////////////////////////////////////////////////
- // CScrChild construction/destruction
-
- CScrChild::CScrChild()
- {
- // TODO: add member initialization code here
- int m_Mode = 0;
- }
-
- CScrChild::~CScrChild()
- {
- }
-
- BOOL CScrChild::PreCreateWindow(CREATESTRUCT& cs)
- {
- // TODO: Modify the Window class or styles here by modifying
- // the CREATESTRUCT cs
-
- return CMDIChildWnd::PreCreateWindow(cs);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CScrChild diagnostics
-
- #ifdef _DEBUG
- void CScrChild::AssertValid() const
- {
- CMDIChildWnd::AssertValid();
- }
-
- void CScrChild::Dump(CDumpContext& dc) const
- {
- CMDIChildWnd::Dump(dc);
- }
-
- #endif //_DEBUG
-
- /////////////////////////////////////////////////////////////////////////////
- // CScrChild message handlers
-