accountfrm.cpp

来自「个人财务管理系统,很实用的一个源码,很有参考价值,下载」· C++ 代码 · 共 52 行

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

#include "stdafx.h"
#include "FinanceMIS.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

void CAccountFrm::OnClose() 
{
	// TODO: Add your message handler code here and/or call default
	//发送窗口关闭消息
	AfxGetMainWnd()->PostMessage(WM_CLOSE_CHILD_FRAME,FRAME_ACCOUNT);
	CMDIChildWnd::OnClose();
}

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);
}

⌨️ 快捷键说明

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