【VC开源代码栏目提醒】:网学会员VC开源代码为您提供ConfigFrm.cpp参考,解决您在ConfigFrm.cpp学习中工作中的难题,参考学习。
// ConfigFrm.cpp : implementation file
//
#include "stdafx.h"
#include "FinanceMIS.h"
#include "ConfigFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CConfigFrm
IMPLEMENT_DYNCREATE(CConfigFrm, CMDIChildWnd)
CConfigFrm::CConfigFrm()
{
}
CConfigFrm::~CConfigFrm()
{
}
BEGIN_MESSAGE_MAP(CConfigFrm, CMDIChildWnd)
//{{AFX_MSG_MAP(CConfigFrm)
ON_WM_CLOSE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CConfigFrm message handlers
BOOL CConfigFrm::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 CConfigFrm::OnClose()
{
// TODO: Add your message handler code here and/or call default
//发送窗口关闭消息
AfxGetMainWnd()->PostMessage(WM_CLOSE_CHILD_FRAME,FRAME_CONFIG);
CMDIChildWnd::OnClose();
}
上一篇:
ConfigDSNView.cpp
下一篇:
4种小菜缓解孕妈咪不适