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

📄 recivedialog.cpp

📁 手机串口通信设置程序
💻 CPP
字号:
// ReciveDialog.cpp : implementation file
//

#include "stdafx.h"
#include "phonepc.h"
#include "ReciveDialog.h"

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

/////////////////////////////////////////////////////////////////////////////
// CReciveDialog dialog


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

	CRect rect;

	GetWindowRect(rect);

	SetWindowPos(0,(rect.left + rect.right)/2,(rect.bottom + rect.top)/2,0,0,SWP_NOSIZE|SWP_NOZORDER);   
	

	return TRUE;
}
void CReciveDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CReciveDialog)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CReciveDialog, CDialog)
	//{{AFX_MSG_MAP(CReciveDialog)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CReciveDialog message handlers

int CReciveDialog::OnCloseDlg()
{
	OnOK();
	return 1;
}

⌨️ 快捷键说明

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