splitterview.cpp

来自「通过手机数据线连接手机」· C++ 代码 · 共 44 行

CPP
44
字号
// SPlitterView.cpp : implementation file
//

#include "stdafx.h"
#include "MoblieX.h"
#include "SPlitterView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CSPlitterView

IMPLEMENT_DYNCREATE(CSPlitterView, CMDIChildWnd)

CSPlitterView::CSPlitterView()
{
}

CSPlitterView::~CSPlitterView()
{
}

BOOL CSPlitterView::OnCreateClient(LPCREATESTRUCT /*lpcs*/, CCreateContext* pContext)
{
	return m_wndSplitter.Create(this,
		2, 2,       // TODO: adjust the number of rows, columns
		CSize(10, 10),  // TODO: adjust the minimum pane size
		pContext);
}


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

/////////////////////////////////////////////////////////////////////////////
// CSPlitterView message handlers

⌨️ 快捷键说明

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