You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
|
|
// ChildFrm.cpp : CChildFrame <20><><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5>
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
|
|
#include "LaiPuLaser.h"
|
|
|
|
|
|
|
|
|
|
#include "ChildFrm.h"
|
|
|
|
|
#include "GlobalDrawMgr.h"
|
|
|
|
|
#include "LogMgr.h"
|
|
|
|
|
|
|
|
|
|
#ifdef _DEBUG
|
|
|
|
|
#define new DEBUG_NEW
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// CChildFrame
|
|
|
|
|
|
|
|
|
|
IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWndEx)
|
|
|
|
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWndEx)
|
|
|
|
|
ON_WM_SYSCOMMAND()
|
|
|
|
|
END_MESSAGE_MAP()
|
|
|
|
|
|
|
|
|
|
// CChildFrame <20><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
CChildFrame::CChildFrame()
|
|
|
|
|
{
|
|
|
|
|
// TODO: <20>ڴ<EFBFBD><DAB4><EFBFBD><EFBFBD>ӳ<EFBFBD>Ա<EFBFBD><D4B1>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CChildFrame::~CChildFrame()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
|
|
|
|
|
{
|
|
|
|
|
// TODO: <20>ڴ˴<DAB4>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD> CREATESTRUCT cs <20><><EFBFBD>Ĵ<DEB8><C4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ
|
|
|
|
|
|
|
|
|
|
if( !CMDIChildWndEx::PreCreateWindow(cs) )
|
|
|
|
|
return FALSE;
|
|
|
|
|
cs.style |= WS_MAXIMIZE;
|
|
|
|
|
return TRUE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// CChildFrame <20><><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
#ifdef _DEBUG
|
|
|
|
|
void CChildFrame::AssertValid() const
|
|
|
|
|
{
|
|
|
|
|
CMDIChildWndEx::AssertValid();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CChildFrame::Dump(CDumpContext& dc) const
|
|
|
|
|
{
|
|
|
|
|
CMDIChildWndEx::Dump(dc);
|
|
|
|
|
}
|
|
|
|
|
#endif //_DEBUG
|
|
|
|
|
|
|
|
|
|
// CChildFrame <20><>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
void CChildFrame::OnSysCommand(UINT nID, LPARAM lParam)
|
|
|
|
|
{
|
|
|
|
|
if(nID == SC_CLOSE)
|
|
|
|
|
return;
|
|
|
|
|
CMDIChildWndEx::OnSysCommand(nID, lParam);
|
|
|
|
|
}
|