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

📄 ngmdichildwnd.cpp

📁 一个vc中管理资源文件ID的插件
💻 CPP
字号:

// NGMDIChildWnd.cpp : implementation of the CNGMDIChildWnd class
//

#include "StdAfx.h"

#include "NGMDIChildWnd.h"


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


/////////////////////////////////////////////////////////////////////////////
// CNGMDIChildWnd

IMPLEMENT_DYNCREATE(CNGMDIChildWnd, CNGMDIChildWnd_BASE)

BEGIN_MESSAGE_MAP(CNGMDIChildWnd, CNGMDIChildWnd_BASE)
	//{{AFX_MSG_MAP(CNGMDIChildWnd)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()


/////////////////////////////////////////////////////////////////////////////
// CNGMDIChildWnd construction/destruction

CNGMDIChildWnd::CNGMDIChildWnd(void)
{
	// TODO: add member initialization code here
	
}


CNGMDIChildWnd::~CNGMDIChildWnd(void)
{
}


BOOL CNGMDIChildWnd::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

//	cs.style = cs.style & ~(LONG)FWS_ADDTOTITLE;

	return CNGMDIChildWnd_BASE::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CNGMDIChildWnd diagnostics

#ifdef _DEBUG
void CNGMDIChildWnd::AssertValid(void) const
{
	CNGMDIChildWnd_BASE::AssertValid();
}

void CNGMDIChildWnd::Dump(CDumpContext& dc) const
{
	CNGMDIChildWnd_BASE::Dump(dc);
}

#endif //_DEBUG



/////////////////////////////////////////////////////////////////////////////
// CNGMDIChildWnd message handlers

/************************************************************************
 *	Make the first child window maximised by default
 *
 ************************************************************************/

void CNGMDIChildWnd::ActivateFrame(int nCmdShow) 
{
	if (GetMDIFrame()->MDIGetActive() == NULL)
	{
		nCmdShow = SW_SHOWMAXIMIZED;
	}
	CNGMDIChildWnd_BASE::ActivateFrame(nCmdShow);
}


BOOL CNGMDIChildWnd::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext) 
{
	return CNGMDIChildWnd_BASE::OnCreateClient(lpcs, pContext);
}



⌨️ 快捷键说明

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