📄 readme.wzd
字号:
/////////////////////////////////////////////////////////////////////
// Modify any class with a window.
/////////////////////////////////////////////////////////////////////
// 1) embed any control class (CButton, CEdit, etc.) in the class
CButton m_ctrlButton;
// 2) in the WM_CREATE message handler of the class you want to add this control to
// create button in view
CRect rect(20,20,100,50);
m_ctrlButton.Create("Wzd&1", WS_CHILD|WS_VISIBLE, rect, this, IDC_WZD_CONTROL );
// 3) give the control a 3D look (no boldface)
CFont *pFont=CFont::FromHandle((HFONT)::GetStockObject(ANSI_VAR_FONT));
m_ctrlButton.SetFont(pFont);
/////////////////////////////////////////////////////////////////////
// From: Visual C++ MFC Programming by Example by John E. Swanke
// Copyright (C) 1998 jeswanke. All rights reserved.
/////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -