📄 readme.wzd
字号:
/////////////////////////////////////////////////////////////////////
// Example files.
/////////////////////////////////////////////////////////////////////
WzdTView.cpp -- a tabbed form view class
WzdTView.h
PageOne.cpp -- sample property page classes in tabbed form
PageOne.h
PageTwo.cpp
PageTwo.h
/////////////////////////////////////////////////////////////////////
// Modify the Application Class.
/////////////////////////////////////////////////////////////////////
// 1) add new view class to document template
CMultiDocTemplate* pDocTemplate;
pDocTemplate = new CMultiDocTemplate(
IDR_WZDTYPE,
RUNTIME_CLASS(CWzdDoc),
RUNTIME_CLASS(CChildFrame),
RUNTIME_CLASS(CWzdTabbedView));<<<<<<<<
AddDocTemplate(pDocTemplate);
/////////////////////////////////////////////////////////////////////
// Modify the Frame Class (Mainframe or Childframe).
/////////////////////////////////////////////////////////////////////
// 1) make frame static
BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
{
// removes min/max boxes
cs.style &= ~(WS_MAXIMIZEBOX|WS_MINIMIZEBOX);
// makes dialog box unsizable
cs.style &= ~WS_THICKFRAME;
return CMDIChildWnd::PreCreateWindow(cs);
}
/////////////////////////////////////////////////////////////////////
// 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 + -