returnvalue.cpp

来自「dsacd_ivr 的实现」· C++ 代码 · 共 57 行

CPP
57
字号
// ReturnValue.cpp : implementation file
//

#include "stdafx.h"
#include "dsACD_IVR.h"
#include "ReturnValue.h"

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

/////////////////////////////////////////////////////////////////////////////
// CReturnValue dialog


CReturnValue::CReturnValue(CWnd* pParent /*=NULL*/)
	: CDialog(CReturnValue::IDD, pParent)
{
	//{{AFX_DATA_INIT(CReturnValue)
	m_csReturn = _T("");
	//}}AFX_DATA_INIT
}


void CReturnValue::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CReturnValue)
	DDX_LBString(pDX, IDC_LISTRETURN, m_csReturn);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CReturnValue message handlers

BOOL CReturnValue::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	CListBox* pLB = (CListBox*) GetDlgItem(IDC_LISTRETURN);
    pLB->InsertString(-1, "返回成功");
    pLB->InsertString(-1, "返回失败");
    pLB->InsertString(-1, "返回挂机");
    pLB->InsertString(-1, "返回呼叫失败");
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

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