📄 splitterview.cpp
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -