📄 myapp.cpp
字号:
#include <afxwin.h>
#include "mydoc.h"
#include "myframe.h"
#include "myview.h"
#include "myapp.h"
#include "calender.h"
#include "resource.h"
myapp a ;
BOOL myapp::InitInstance( )
{
CRuntimeClass *d, *f, *v ;
d = RUNTIME_CLASS ( mydoc ) ;
f = RUNTIME_CLASS ( myframe ) ;
v = RUNTIME_CLASS ( myview ) ;
CSingleDocTemplate *t ;
t = new CSingleDocTemplate ( IDR_MENU1, d, f, v ) ;
AddDocTemplate ( t ) ;
CCommandLineInfo c ;
ParseCommandLine ( c ) ;
if ( !ProcessShellCommand ( c ) )
return FALSE ;
return TRUE;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -