|
// DlgEdit.cpp : implementation file
//
#include "stdafx.h"
#include "ess_gui.h"
#include "DlgEdit.h"
#include ".\dlgedit.h"
// CDlgEdit dialog
IMPLEMENT_DYNAMIC(CDlgEdit, CDialog)
CDlgEdit::CDlgEdit(CString title,CWnd* pParent /*=NULL*/)
: CDialog(CDlgEdit::IDD, pParent)
, m_title(title)
, m_csKey(_T(""))
, m_csValue(_T(""))
, m_csEmail(_T(""))
{
}
CDlgEdit::~CDlgEdit()
{
}
void CDlgEdit::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Text(pDX, IDC_KEY, m_csKey);
DDX_Text(pDX, IDC_VALUE, m_csValue);
DDX_Text(pDX, IDC_EMAIL, m_csEmail);
}
BEGIN_MESSAGE_MAP(CDlgEdit, CDialog)
END_MESSAGE_MAP()
// CDlgEdit message handlers
BOOL CDlgEdit::OnInitDialog()
{
CDialog::OnInitDialog();
SetWindowText(m_title);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.