myapp.cpp
来自「吐血了」· C++ 代码 · 共 32 行
CPP
32 行
#include <afxwin.h>
#include "disk.h"
#include "mydoc.h"
#include "myframe.h"
#include "myview.h"
#include "myapp.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_MAINFRAME, d, f, v ) ;
AddDocTemplate ( t ) ;
CCommandLineInfo c ;
ParseCommandLine ( c ) ;
if ( !ProcessShellCommand ( c ) )
return FALSE ;
return TRUE ;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?