?? kztsplitter.cpp
字號:
// Kztsplitter.cpp : implementation file
//
#include "stdafx.h"
#include "Ex07b.h"
#include "Kztsplitter.h"
#include "Kzt.h"
#include "KztList.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CKztsplitter
IMPLEMENT_DYNCREATE(CKztsplitter, CMDIChildWnd)
CKztsplitter::CKztsplitter()
{
}
CKztsplitter::~CKztsplitter()
{
}
BEGIN_MESSAGE_MAP(CKztsplitter, CMDIChildWnd)
//{{AFX_MSG_MAP(CKztsplitter)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CKztsplitter message handlers
BOOL CKztsplitter::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
{
// TODO: Add your specialized code here and/or call the base class
// return CMDIChildWnd::OnCreateClient(lpcs, pContext);
m_splitterWnd.CreateStatic(this,1,2);
m_splitterWnd.CreateView(0,0,
RUNTIME_CLASS(CKzt), CSize(160,250), pContext);
m_splitterWnd.CreateView(0,1,
RUNTIME_CLASS(CKztList), CSize(250, 250), pContext);
SetActiveView((CView*)m_splitterWnd.GetPane(0,0));
return 1;
}
void CKztsplitter::ActivateFrame(int nCmdShow)
{
// TODO: Add your specialized code here and/or call the base class
nCmdShow=SW_SHOWMAXIMIZED;
CMDIChildWnd::ActivateFrame(nCmdShow);
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -