chtfrm.cpp

来自「本家庭理财系统是一个简易的家庭理财工具」· C++ 代码 · 共 50 行

CPP
50
字号
// ChtFrm.cpp : implementation file
//

#include "stdafx.h"
#include "FFMS.h"
#include "ChtFrm.h"
#include "GeneralDef.h"

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

/////////////////////////////////////////////////////////////////////////////
// CChtFrm

IMPLEMENT_DYNCREATE(CChtFrm, CMDIChildWnd)

CChtFrm::CChtFrm()
{
}

CChtFrm::~CChtFrm()
{
}


BEGIN_MESSAGE_MAP(CChtFrm, CMDIChildWnd)
	//{{AFX_MSG_MAP(CChtFrm)
	ON_WM_CLOSE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CChtFrm message handlers

BOOL CChtFrm::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext) 
{
	// TODO: Add your specialized code here and/or call the base class
	AfxGetMainWnd()->PostMessage(WM_MAXSIZE_MDI,(WPARAM)this);
	return CMDIChildWnd::OnCreateClient(lpcs, pContext);
}

void CChtFrm::OnClose() 
{
	// TODO: Add your message handler code here and/or call default
	AfxGetMainWnd()->PostMessage(WM_CLOSE_CHILD_FRAME,FRAME_CHT);
	CMDIChildWnd::OnClose();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?