readme.wzd
来自「《Visual C++ MFC编程实例》配套代码,如果大家正在学习此教程」· WZD 代码 · 共 34 行
WZD
34 行
/////////////////////////////////////////////////////////////////////
// Modify a Frame window (Mainframe or Childframe)
/////////////////////////////////////////////////////////////////////
// 1) embed a CSplitterWnd class in this class
CSplitterWnd m_wndSplitter;
// 2) use the ClassWizard to override OnCreateClient()
BOOL CChildFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
{
// 3) create the splitter windows
if (!m_wndSplitter.Create(this,
2, // maximum rows (maximum == 2)
1, // maximum columns (maximum == 2)
CSize(5,5), // minimum pane size in pixels
pContext))
{
TRACE0("Failed to Create Splitter Window\n");
return FALSE;
}
// 4) return TRUE
return TRUE; //CMDIChildWnd::OnCreateClient(lpcs, pContext);
}
/////////////////////////////////////////////////////////////////////
// From: Visual C++ MFC Programming by Example by John E. Swanke
// Copyright (C) 1998 jeswanke. All rights reserved.
/////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?