www.pudn.com > IP.rar > IncomingDlg.cpp, change:2009-04-07,size:1484b

//Download by http://www.codefans.net 
#include "stdafx.h" 
#include "AVDConf.h" 
#include "defines.h" 
#include "IncomingDlg.h" 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
// CIncomingDlg dialog 
CIncomingDlg::CIncomingDlg(CWnd* pParent /*=NULL*/) 
	: CDialog(CIncomingDlg::IDD, pParent) 
		// NOTE: the ClassWizard will add member initialization here 
void CIncomingDlg::DoDataExchange(CDataExchange* pDX) 
		// NOTE: the ClassWizard will add DDX and DDV calls here 
BEGIN_MESSAGE_MAP(CIncomingDlg, CDialog) 
// CIncomingDlg message handlers 
BOOL CIncomingDlg::OnInitDialog()  
	pData = (SESSION_DATA *)GetWindowLong (::GetWindow(m_hWnd, GW_OWNER), GWL_USERDATA); 
	// Display the caller name and ID. 
	SetDlgItemTextW (m_hWnd, IDC_CALLERNAME, pData->bstrName); 
	SetDlgItemTextW (m_hWnd, IDC_CALLERID, pData->bstrURI); 
	return TRUE;  // return TRUE unless you set the focus to a control 
	              // EXCEPTION: OCX Property Pages should return FALSE