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

📄 zftsplitter.cpp

📁 ISO9000质量管理小程序
💻 CPP
字号:
// ZftSplitter.cpp : implementation file
//

#include "stdafx.h"
#include "Ex07b.h"
#include "ZftSplitter.h"

#include "Zflist.h"
#include "Zflieju.h"
#include "ZftInput1.h"
#include "ChildFrm.h"


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

/////////////////////////////////////////////////////////////////////////////
// CZftSplitter

IMPLEMENT_DYNCREATE(CZftSplitter, CMDIChildWnd)

CZftSplitter::CZftSplitter()
{
}

CZftSplitter::~CZftSplitter()
{
}


BEGIN_MESSAGE_MAP(CZftSplitter, CMDIChildWnd)
	//{{AFX_MSG_MAP(CZftSplitter)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CZftSplitter message handlers

BOOL CZftSplitter::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext) 
{
	// TODO: Add your specialized code here and/or call the base class
	
	m_wndSplitter.CreateStatic(this,2,1);
    m_wndSplitter.CreateView(0,0, 
    RUNTIME_CLASS(CZflist), CSize(250, 150), pContext); 

	m_wndSplitter2.CreateStatic(&m_wndSplitter,1,2,WS_CHILD|WS_VISIBLE, 
	m_wndSplitter.IdFromRowCol(1, 0)); 

	m_wndSplitter2.CreateView(0,0, 
    RUNTIME_CLASS(CZftInput1), CSize(250, 100), pContext); 

	m_wndSplitter2.CreateView(0,1, 
    RUNTIME_CLASS(CZflieju), CSize(250, 0), pContext); 


   // SetActiveView((CView*)m_wndSplitter.GetPane(0,0)); 





	return 1;

//	return CMDIChildWnd::OnCreateClient(lpcs, pContext);
}

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

⌨️ 快捷键说明

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