modallesdialog.cpp

来自「VC++模态和非模态对话框的使用.看看怎么样?」· C++ 代码 · 共 45 行

CPP
45
字号
// ModallesDialog.cpp : implementation file
//

#include "stdafx.h"
#include "E2_1.h"
#include "ModallesDialog.h"

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

/////////////////////////////////////////////////////////////////////////////
// CModallesDialog dialog


CModallesDialog::CModallesDialog(CWnd* pParent /*=NULL*/)
	: CDialog(CModallesDialog::IDD, pParent)
{
	//{{AFX_DATA_INIT(CModallesDialog)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


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


BEGIN_MESSAGE_MAP(CModallesDialog, CDialog)
	//{{AFX_MSG_MAP(CModallesDialog)
	ON_COMMAND(ID_Modalles, OnModalles)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CModallesDialog message handlers

⌨️ 快捷键说明

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