dlldialog.cpp

来自「一系列的c++例子 一步一步由浅入深 有 聊天室」· C++ 代码 · 共 55 行

CPP
55
字号
// DllDialog.cpp : implementation file
//

#include "stdafx.h"
#include "regularDLL.h"
#include "DllDialog.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDllDialog dialog




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


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


BEGIN_MESSAGE_MAP(CDllDialog, CDialog)
	//{{AFX_MSG_MAP(CDllDialog)
	ON_BN_CLICKED(IDC_BUTTON1, OnHelloButton)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDllDialog message handlers



void CDllDialog::OnHelloButton() 
{
	// TODO: Add your control notification handler code here
	
	MessageBox("Hello,pconline的网友","pconline");
}

⌨️ 快捷键说明

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