Debian Codegraph @

Tests/MFC/mfc1/ChildFrm.cpp

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