This repository has been archived on 2024-03-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
ContactBook/PropAdd.cpp
2024-03-20 09:28:18 -05:00

64 lines
1.5 KiB
C++

// PropAdd.cpp : implementation file
//
#include "stdafx.h"
#include "CB32.h"
#include "PropAdd.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPropAdd property page
IMPLEMENT_DYNCREATE(CPropAdd, CPropertyPage)
CPropAdd::CPropAdd() : CPropertyPage(CPropAdd::IDD)
{
//{{AFX_DATA_INIT(CPropAdd)
m_fname = _T("");
m_lname = _T("");
m_mi = _T("");
m_title = _T("");
m_add1 = _T("");
m_add2 = _T("");
m_city = _T("");
m_country = _T("");
m_state = _T("");
m_zipcode = _T("");
//}}AFX_DATA_INIT
}
CPropAdd::~CPropAdd()
{
}
void CPropAdd::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPropAdd)
DDX_Text(pDX, IDC_ADD1, m_add1);
DDX_Text(pDX, IDC_ADD2, m_add2);
DDX_Text(pDX, IDC_CITY, m_city);
DDX_Text(pDX, IDC_COUNTRY, m_country);
DDX_Text(pDX, IDC_FNAME, m_fname);
DDX_Text(pDX, IDC_LNAME, m_lname);
DDX_Text(pDX, IDC_MI, m_mi);
DDX_Text(pDX, IDC_STATE, m_state);
DDX_Text(pDX, IDC_TITLE, m_title);
DDX_Text(pDX, IDC_ZIPCODE, m_zipcode);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CPropAdd, CPropertyPage)
//{{AFX_MSG_MAP(CPropAdd)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPropAdd message handlers