cmake/Tests/MFC/mfc1/ChildFrm.cpp

60 lines
955 B
C++
Raw Normal View History

2012-02-18 12:40:36 +02:00
// ChildFrm.cpp : implementation of the CChildFrame class
//
2016-07-09 11:21:54 +02:00
2020-02-01 23:06:01 +01:00
// clang-format off
2012-02-18 12:40:36 +02:00
#include "stdafx.h"
2016-07-09 11:21:54 +02:00
2012-02-18 12:40:36 +02:00
#include "mfc1.h"
#include "ChildFrm.h"
2020-02-01 23:06:01 +01:00
// clang-format on
2012-02-18 12:40:36 +02:00
#ifdef _DEBUG
2018-08-09 18:06:22 +02:00
# define new DEBUG_NEW
2012-02-18 12:40:36 +02:00
#endif
// CChildFrame
IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWnd)
BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd)
END_MESSAGE_MAP()
// CChildFrame construction/destruction
CChildFrame::CChildFrame()
{
2016-07-09 11:21:54 +02:00
// TODO: add member initialization code here
2012-02-18 12:40:36 +02:00
}
CChildFrame::~CChildFrame()
{
}
BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
{
2016-07-09 11:21:54 +02:00
// TODO: Modify the Window class or styles here by modifying the CREATESTRUCT
// cs
if (!CMDIChildWnd::PreCreateWindow(cs))
return FALSE;
2012-02-18 12:40:36 +02:00
2016-07-09 11:21:54 +02:00
return TRUE;
2012-02-18 12:40:36 +02:00
}
// CChildFrame diagnostics
#ifdef _DEBUG
void CChildFrame::AssertValid() const
{
2016-07-09 11:21:54 +02:00
CMDIChildWnd::AssertValid();
2012-02-18 12:40:36 +02:00
}
void CChildFrame::Dump(CDumpContext& dc) const
{
2016-07-09 11:21:54 +02:00
CMDIChildWnd::Dump(dc);
2012-02-18 12:40:36 +02:00
}
#endif //_DEBUG
// CChildFrame message handlers