⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 helpdialog.cpp

📁 这是一个俄罗斯方块的源代码
💻 CPP
字号:
// HELPDIALOG.cpp : implementation file
//

#include "stdafx.h"
#include "俄罗斯方块.h"
#include "HELPDIALOG.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// HELPDIALOG dialog


HELPDIALOG::HELPDIALOG(CWnd* pParent /*=NULL*/)
	: CDialog(HELPDIALOG::IDD, pParent)
{
	//{{AFX_DATA_INIT(HELPDIALOG)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
	HelpData.Format("");
}


void HELPDIALOG::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(HELPDIALOG)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(HELPDIALOG, CDialog)
	//{{AFX_MSG_MAP(HELPDIALOG)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// HELPDIALOG message handlers

BOOL HELPDIALOG::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	MyEdit.SubclassDlgItem(IDC_EDIT2,this);
	MyEdit.SetWindowText(HelpData);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

BOOL HELPDIALOG::PreTranslateMessage(MSG* pMsg) 
{
	// TODO: Add your specialized code here and/or call the base class
	if(pMsg->message==WM_RBUTTONDOWN) return 1;

	return CDialog::PreTranslateMessage(pMsg);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -