// ActivityInitInfoDlg.cpp : implementation file
//

#include "stdafx.h"
#include "AG_MDA.h"
#include "ActivityInitInfoDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// ActivityInitInfoDlg dialog


ActivityInitInfoDlg::ActivityInitInfoDlg(CWnd* pParent /*=NULL*/)
	: CDialog(ActivityInitInfoDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(ActivityInitInfoDlg)
	m_Expression = _T("");
	m_Name = _T("");
	m_ID = 0;
	//}}AFX_DATA_INIT
}


void ActivityInitInfoDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(ActivityInitInfoDlg)
	DDX_Text(pDX, IDC_EDIT_EXPRESSION, m_Expression);
	DDX_Text(pDX, IDC_EDIT_NAME, m_Name);
	DDX_Text(pDX, IDC_EDIT_ID, m_ID);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(ActivityInitInfoDlg, CDialog)
	//{{AFX_MSG_MAP(ActivityInitInfoDlg)
	ON_EN_CHANGE(IDC_EDIT_ID, OnChangeEditId)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// ActivityInitInfoDlg message handlers

BOOL ActivityInitInfoDlg::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void ActivityInitInfoDlg::OnChangeEditId() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	
	// TODO: Add your control notification handler code here
	
}
