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

📄 makecalldlg.cpp

📁 VC++视频开发实例集锦(包括“远程视频监控”"语音识别系统"等13个经典例子)
💻 CPP
字号:


#include "stdafx.h"
#include "AVDConf.h"
#include "MakeCallDlg.h"

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

extern	BSTR	g_bstrAddr;

/////////////////////////////////////////////////////////////////////////////
// MakeCallDlg dialog


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


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


BEGIN_MESSAGE_MAP(MakeCallDlg, CDialog)
	//{{AFX_MSG_MAP(MakeCallDlg)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// MakeCallDlg message handlers

void MakeCallDlg::OnOK() 
{
	WCHAR	wszIPBuf[MAX_PATH];

	// Get the destination address.
	GetDlgItemTextW ( m_hWnd, IDC_DESTIP, wszIPBuf, MAX_PATH );

	// Convert the string to BSTR object.
	g_bstrAddr = SysAllocString ( _T(wszIPBuf) );
	
	CDialog::OnOK();
}

⌨️ 快捷键说明

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