mainfrm.cpp
来自「一个三维打斗游戏」· C++ 代码 · 共 61 行
CPP
61 行
// 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 + =
减小字号Ctrl + -
显示快捷键?