wavecommppg.cpp

来自「GSM modem通讯控件」· C++ 代码 · 共 71 行

CPP
71
字号
// WaveCommPpg.cpp : Implementation of the CWaveCommPropPage property page class.

#include "stdafx.h"
#include "WaveComm.h"
#include "WaveCommPpg.h"

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


IMPLEMENT_DYNCREATE(CWaveCommPropPage, COlePropertyPage)


/////////////////////////////////////////////////////////////////////////////
// Message map

BEGIN_MESSAGE_MAP(CWaveCommPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CWaveCommPropPage)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()


/////////////////////////////////////////////////////////////////////////////
// Initialize class factory and guid

IMPLEMENT_OLECREATE_EX(CWaveCommPropPage, "WAVECOMM.WaveCommPropPage.1",
	0xf9635cb7, 0xf2, 0x44ef, 0x90, 0x44, 0x96, 0xb1, 0xd3, 0x6e, 0xe7, 0x39)


/////////////////////////////////////////////////////////////////////////////
// CWaveCommPropPage::CWaveCommPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CWaveCommPropPage

BOOL CWaveCommPropPage::CWaveCommPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_WAVECOMM_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CWaveCommPropPage::CWaveCommPropPage - Constructor

CWaveCommPropPage::CWaveCommPropPage() :
	COlePropertyPage(IDD, IDS_WAVECOMM_PPG_CAPTION)
{
	//{{AFX_DATA_INIT(CWaveCommPropPage)
	//}}AFX_DATA_INIT
}


/////////////////////////////////////////////////////////////////////////////
// CWaveCommPropPage::DoDataExchange - Moves data between page and properties

void CWaveCommPropPage::DoDataExchange(CDataExchange* pDX)
{
	//{{AFX_DATA_MAP(CWaveCommPropPage)
	//}}AFX_DATA_MAP
	DDP_PostProcessing(pDX);
}


/////////////////////////////////////////////////////////////////////////////
// CWaveCommPropPage message handlers

⌨️ 快捷键说明

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