accountfrm.cpp

来自「一个用MFC编写的家庭财务管理系统.采用了Sqlserver数据库.压缩包中已包」· C++ 代码 · 共 49 行

CPP
49
字号
// AccountFrm.cpp : implementation file
//

#include "stdafx.h"
#include "FinaceMIS.h"
#include "AccountFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CAccountFrm

IMPLEMENT_DYNCREATE(CAccountFrm, CMDIChildWnd)

CAccountFrm::CAccountFrm()
{
}

CAccountFrm::~CAccountFrm()
{
}


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

/////////////////////////////////////////////////////////////////////////////
// CAccountFrm message handlers

BOOL CAccountFrm::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 CAccountFrm::OnClose() 
{
	// TODO: Add your message handler code here and/or call default
	AfxGetMainWnd()->PostMessage(WM_CLOSE_CHILD_FRAME,FRAME_ACCOUNT);	
	CMDIChildWnd::OnClose();
}

⌨️ 快捷键说明

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