source: trunk/MFCtooling/TestProg/ChildFrm.cpp @ 482

Last change on this file since 482 was 32, checked in by sherbold, 14 years ago
File size: 968 bytes
Line 
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
15IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWnd)
16
17BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd)
18END_MESSAGE_MAP()
19
20
21// CChildFrame construction/destruction
22
23CChildFrame::CChildFrame()
24{
25        // TODO: add member initialization code here
26}
27
28CChildFrame::~CChildFrame()
29{
30}
31
32
33BOOL 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
46void CChildFrame::AssertValid() const
47{
48        CMDIChildWnd::AssertValid();
49}
50
51void 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.