⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 set1frame.cpp

📁 一套故障诊断监测系统
💻 CPP
字号:
// Set1Frame.cpp : implementation file
//

#include "stdafx.h"
#include "CDMS.h"
#include "Set1Frame.h"
//#include "MainFrm.cpp"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CSet1Frame

IMPLEMENT_DYNCREATE(CSet1Frame, CMDIChildWnd)

CSet1Frame::CSet1Frame()
{
//	m_pMainFrame = NULL;
}

CSet1Frame::~CSet1Frame()
{

}


BEGIN_MESSAGE_MAP(CSet1Frame, CMDIChildWnd)
	//{{AFX_MSG_MAP(CSet1Frame)
	ON_WM_CREATE()
	ON_WM_MDIACTIVATE()
	ON_WM_DESTROY()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSet1Frame message handlers

BOOL CSet1Frame::PreCreateWindow(CREATESTRUCT& cs) 
{
	// TODO: Add your specialized code here and/or call the base class
	cs.style &= ~FWS_ADDTOTITLE;		
	return CMDIChildWnd::PreCreateWindow(cs);
}

void CSet1Frame::ActivateFrame(int nCmdShow) 
{
	// TODO: Add your specialized code here and/or call the base class
	nCmdShow = SW_SHOWMAXIMIZED;
	CMDIChildWnd::ActivateFrame(nCmdShow);
}

int CSet1Frame::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
	if (CMDIChildWnd::OnCreate(lpCreateStruct) == -1)
		return -1;
	
	// TODO: Add your specialized creation code here

	//<-------------设置窗口标题------------->
	this->SetWindowText("1#机组");
	//<-------------设置窗口标题------------->
	
	return 0;
}

⌨️ 快捷键说明

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