📄 vbseditor.cpp
字号:
#include "stdafx.h"
#include "VbsEditor.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
BEGIN_MESSAGE_MAP(CEditorDLLApp, CWinApp)
END_MESSAGE_MAP()
CEditorDLLApp::CEditorDLLApp()
{
// TODO: add construction code here,
// Place all significant initialization in InitInstance
}
CEditorDLLApp theApp;
// global function exports so we can be loaded by DLL
CEditorDocTemplate* DLLDocTemplate(CWinApp *APP)
{
// we have to be using the local resources when we do this as
// the CDocTemplate constructor calls LoadTemplate() before the
// vtable for virtual functions is setup and calls the base
// class implementation
AFX_MANAGE_STATE(AfxGetStaticModuleState()) ;
CEditorDocTemplate *pTemplate = NULL ;
pTemplate = new CEditorDocTemplate(
theApp.m_hInstance, // the APP's resource instance
// APP->m_hInstance,
IDI_ICO,
RUNTIME_CLASS(CDLLDocument),
RUNTIME_CLASS(CChildFrame), // custom MDI child frame
RUNTIME_CLASS(CSCView));
return pTemplate ;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -