📄 readme.wzd
字号:
/////////////////////////////////////////////////////////////////////
// Example files.
/////////////////////////////////////////////////////////////////////
MDIClWnd.cpp -- a child class window that fills itself with a
MDIClWnd.h stretched bitmap
/////////////////////////////////////////////////////////////////////
// Modify Mainframe Class.
/////////////////////////////////////////////////////////////////////
// 1) embed MDIClientWnd class in this class.
CMDIClientWnd m_wndMDIClient;
// 2) subclass MDIClientWnd window in WM_CREATE handler
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CMDIFrameWnd::OnCreate(lpCreateStruct) == -1)
return -1;
// subclass our CMDIClientWnd class to MDIClient window
if( !m_wndMDIClient.SubclassWindow( m_hWndMDIClient))
{
TRACE( " Failed to subclass MDI client window\n");
return -1;
}
// 3) use ClassWizard to add a WM_SIZE handler where you invalidate
// the MDIClientWnd window
void CMainFrame::OnSize(UINT nType, int cx, int cy)
{
CMDIFrameWnd::OnSize(nType, cx, cy);
m_wndMDIClient.Invalidate();
}
/////////////////////////////////////////////////////////////////////
// From: Visual C++ MFC Programming by Example by John E. Swanke
// Copyright (C) 1999 jeswanke. All rights reserved.
/////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -