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

📄 updatemessage.cpp

📁 GPRS协议解析示例。该示例演示里使用GPRS控件实现客户端程序向车载GPS终端发送点名、监听等指令
💻 CPP
字号:
// UpdateMessage.cpp : implementation file
//

#include "stdafx.h"
#include "测试程序.h"
#include "UpdateMessage.h"

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

/////////////////////////////////////////////////////////////////////////////
// CUpdateMessage dialog


CUpdateMessage::CUpdateMessage(CWnd* pParent /*=NULL*/)
	: CDialog(CUpdateMessage::IDD, pParent)
{
	//{{AFX_DATA_INIT(CUpdateMessage)
	m_Message[0] = _T("");
	m_Message[1] = _T("");
	m_Message[2] = _T("");
	m_Message[3] = _T("");
	m_Message[4] = _T("");
	m_GroupNumber = 0;
	//}}AFX_DATA_INIT
}


void CUpdateMessage::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CUpdateMessage)
	DDX_Text(pDX, IDC_MESSAGE1, m_Message[0]);
	DDV_MaxChars(pDX, m_Message[0], 28);
	DDX_Text(pDX, IDC_MESSAGE2, m_Message[1]);
	DDV_MaxChars(pDX, m_Message[1], 28);
	DDX_Text(pDX, IDC_MESSAGE3, m_Message[2]);
	DDV_MaxChars(pDX, m_Message[2], 28);
	DDX_Text(pDX, IDC_MESSAGE4, m_Message[3]);
	DDV_MaxChars(pDX, m_Message[3], 28);
	DDX_Text(pDX, IDC_MESSAGE5, m_Message[4]);
	DDV_MaxChars(pDX, m_Message[4], 28);
	DDX_Text(pDX, IDC_GROUP_NUMBER, m_GroupNumber);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CUpdateMessage, CDialog)
	//{{AFX_MSG_MAP(CUpdateMessage)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CUpdateMessage message handlers

⌨️ 快捷键说明

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