summaryrefslogtreecommitdiffstats
path: root/private/sdktools/bintrack/errdlg.cpp
blob: 08d57946e4ec6d33914092a878bfca03521cdf00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// ErrorDlg.cpp : implementation file
//

#include "stdafx.h"
#include "bintrack.h"
#include "errdlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CErrorDlg dialog


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

CErrorDlg::CErrorDlg(CString& csError, CWnd* pParent /*=NULL*/)
	: CDialog(CErrorDlg::IDD, pParent), m_ErrorMessage(csError)
{

}

void CErrorDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CErrorDlg)
	DDX_Text(pDX, IDC_ERROR, m_ErrorMessage);
	DDV_MaxChars(pDX, m_ErrorMessage, 255);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CErrorDlg message handlers