深入浅出MFC第二版+源码


深入浅出MFC第二版+源码
资源截图
代码片段和文件信息
// ChildFrm.cpp : implementation of the CChildframe class
//

#include “stdafx.h“
#include “ComTest.h“

#include “ChildFrm.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CChildframe

IMPLEMENT_DYNCREATE(CChildframe CMDIChildWnd)

BEGIN_MESSAGE_MAP(CChildframe CMDIChildWnd)
//{{AFX_MSG_MAP(CChildframe)
// 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()

/////////////////////////////////////////////////////////////////////////////
// CChildframe construction/destruction

CChildframe::CChildframe()
{
// TODO: add member initialization code here

}

CChildframe::~CChildframe()
{
}

BOOL CChildframe::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
//  the CREATESTRUCT cs

return CMDIChildWnd::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CChildframe diagnostics

#ifdef _DEBUG
void CChildframe::AssertValid() const
{
CMDIChildWnd::AssertValid();
}

void CChildframe::Dump(CDumpContext& dc) const
{
CMDIChildWnd::Dump(dc);
}

#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CChildframe message handlers

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)