📄 mainfrm.cpp
字号:
// MainFrm.cpp : implementation of the MainFrm class
//
#include "stdafx.h"
#include "dudes.h"
#include "MainFrm.h"
/////////////////////////////////////////////////////////////////////////////
// MainFrm
IMPLEMENT_DYNCREATE(MainFrm, CFrameWnd)
BEGIN_MESSAGE_MAP(MainFrm, CFrameWnd)
//{{AFX_MSG_MAP(MainFrm)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// MainFrm construction/destruction
MainFrm::MainFrm() : CFrameWnd()
{
// TODO: add member initialization code here
}
MainFrm::~MainFrm()
{
}
BOOL MainFrm::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
cs.cx = 264;
cs.cy = 280;
return CFrameWnd::PreCreateWindow(cs);
}
/////////////////////////////////////////////////////////////////////////////
// MainFrm diagnostics
#ifdef _DEBUG
void MainFrm::AssertValid() const
{
CFrameWnd::AssertValid();
}
void MainFrm::Dump(CDumpContext& dc) const
{
CFrameWnd::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// MainFrm message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -