Rev | Line | |
---|
[32] | 1 | // ChildFrm.cpp : implementation of the CChildFrame class
|
---|
| 2 | //
|
---|
| 3 | #include "stdafx.h"
|
---|
| 4 | #include "TestProg.h"
|
---|
| 5 |
|
---|
| 6 | #include "ChildFrm.h"
|
---|
| 7 |
|
---|
| 8 | #ifdef _DEBUG
|
---|
| 9 | #define new DEBUG_NEW
|
---|
| 10 | #endif
|
---|
| 11 |
|
---|
| 12 |
|
---|
| 13 | // CChildFrame
|
---|
| 14 |
|
---|
| 15 | IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWnd)
|
---|
| 16 |
|
---|
| 17 | BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd)
|
---|
| 18 | END_MESSAGE_MAP()
|
---|
| 19 |
|
---|
| 20 |
|
---|
| 21 | // CChildFrame construction/destruction
|
---|
| 22 |
|
---|
| 23 | CChildFrame::CChildFrame()
|
---|
| 24 | {
|
---|
| 25 | // TODO: add member initialization code here
|
---|
| 26 | }
|
---|
| 27 |
|
---|
| 28 | CChildFrame::~CChildFrame()
|
---|
| 29 | {
|
---|
| 30 | }
|
---|
| 31 |
|
---|
| 32 |
|
---|
| 33 | BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
|
---|
| 34 | {
|
---|
| 35 | // TODO: Modify the Window class or styles here by modifying the CREATESTRUCT cs
|
---|
| 36 | if( !CMDIChildWnd::PreCreateWindow(cs) )
|
---|
| 37 | return FALSE;
|
---|
| 38 |
|
---|
| 39 | return TRUE;
|
---|
| 40 | }
|
---|
| 41 |
|
---|
| 42 |
|
---|
| 43 | // CChildFrame diagnostics
|
---|
| 44 |
|
---|
| 45 | #ifdef _DEBUG
|
---|
| 46 | void CChildFrame::AssertValid() const
|
---|
| 47 | {
|
---|
| 48 | CMDIChildWnd::AssertValid();
|
---|
| 49 | }
|
---|
| 50 |
|
---|
| 51 | void CChildFrame::Dump(CDumpContext& dc) const
|
---|
| 52 | {
|
---|
| 53 | CMDIChildWnd::Dump(dc);
|
---|
| 54 | }
|
---|
| 55 |
|
---|
| 56 | #endif //_DEBUG
|
---|
| 57 |
|
---|
| 58 |
|
---|
| 59 | // CChildFrame message handlers
|
---|
Note: See
TracBrowser
for help on using the repository browser.