statqueryfrm.cpp
来自「visual c++数据库开发基础与应用的源代码」· C++ 代码 · 共 52 行
CPP
52 行
// StatQueryFrm.cpp : implementation file
//
#include "stdafx.h"
#include "FinanceMIS.h"
#include "StatQueryFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CStatQueryFrm
IMPLEMENT_DYNCREATE(CStatQueryFrm, CMDIChildWnd)
CStatQueryFrm::CStatQueryFrm()
{
}
CStatQueryFrm::~CStatQueryFrm()
{
}
BEGIN_MESSAGE_MAP(CStatQueryFrm, CMDIChildWnd)
//{{AFX_MSG_MAP(CStatQueryFrm)
ON_WM_CLOSE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CStatQueryFrm message handlers
BOOL CStatQueryFrm::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 CStatQueryFrm::OnClose()
{
// TODO: Add your message handler code here and/or call default
//发送窗口关闭消息
AfxGetMainWnd()->PostMessage(WM_CLOSE_CHILD_FRAME,FRAME_STAT_QUERY);
CMDIChildWnd::OnClose();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?