CB32 1.2 sources
This commit is contained in:
parent
cf25bc7627
commit
fd87f89a19
100 changed files with 14543 additions and 0 deletions
179
ConvertDlg.cpp
Normal file
179
ConvertDlg.cpp
Normal file
|
|
@ -0,0 +1,179 @@
|
|||
// ConvertDlg.cpp : implementation file
|
||||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "CB32.h"
|
||||
#include "ConvertDlg.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CConvertDlg dialog
|
||||
|
||||
|
||||
CConvertDlg::CConvertDlg(CWnd* pParent /*=NULL*/)
|
||||
: CDialog(CConvertDlg::IDD, pParent)
|
||||
{
|
||||
//{{AFX_DATA_INIT(CConvertDlg)
|
||||
m_xline1 = _T("");
|
||||
m_xadd1 = 0;
|
||||
m_xadd2 = 0;
|
||||
m_xcell = 0;
|
||||
m_xcity = 0;
|
||||
m_xcountry = 0;
|
||||
m_xemail1 = 0;
|
||||
m_xemail2 = 0;
|
||||
m_xfax = 0;
|
||||
m_xfaxx = 0;
|
||||
m_xfname = 0;
|
||||
m_xhomep = 0;
|
||||
m_xhomepx = 0;
|
||||
m_xlname = 0;
|
||||
m_xmi = 0;
|
||||
m_xnotes = 0;
|
||||
m_xpager = 0;
|
||||
m_xpagerc = 0;
|
||||
m_xpagerx = 0;
|
||||
m_xstate = 0;
|
||||
m_xtitle = 0;
|
||||
m_xweb1 = 0;
|
||||
m_xweb2 = 0;
|
||||
m_xworkp = 0;
|
||||
m_xworkpx = 0;
|
||||
m_xzip = 0;
|
||||
m_xcellx = 0;
|
||||
m_xcadd1 = 0;
|
||||
m_xcadd2 = 0;
|
||||
m_xcomp = 0;
|
||||
m_xdept = 0;
|
||||
m_xmgr = 0;
|
||||
m_xposn = 0;
|
||||
//}}AFX_DATA_INIT
|
||||
}
|
||||
|
||||
|
||||
void CConvertDlg::DoDataExchange(CDataExchange* pDX)
|
||||
{
|
||||
CDialog::DoDataExchange(pDX);
|
||||
//{{AFX_DATA_MAP(CConvertDlg)
|
||||
DDX_Control(pDX, IDC_SPINXPOSN, m_spinxposn);
|
||||
DDX_Control(pDX, IDC_SPINXMGR, m_spinxmgr);
|
||||
DDX_Control(pDX, IDC_SPINXDEPT, m_spinxdept);
|
||||
DDX_Control(pDX, IDC_SPINXCOMP, m_spinxcomp);
|
||||
DDX_Control(pDX, IDC_SPINXCADD2, m_spinxcadd2);
|
||||
DDX_Control(pDX, IDC_SPINXCADD1, m_spinxcadd1);
|
||||
DDX_Control(pDX, IDC_SPINXZIP, m_spinxzip);
|
||||
DDX_Control(pDX, IDC_SPINXWORKPX, m_spinxworkpx);
|
||||
DDX_Control(pDX, IDC_SPINXWORKP, m_spinxworkp);
|
||||
DDX_Control(pDX, IDC_SPINXWEB2, m_spinxweb2);
|
||||
DDX_Control(pDX, IDC_SPINXWEB1, m_spinxweb1);
|
||||
DDX_Control(pDX, IDC_SPINXTITLE, m_spinxtitle);
|
||||
DDX_Control(pDX, IDC_SPINXSTATE, m_spinxstate);
|
||||
DDX_Control(pDX, IDC_SPINXPAGERX, m_spinxpagerx);
|
||||
DDX_Control(pDX, IDC_SPINXPAGERC, m_spinxpagerc);
|
||||
DDX_Control(pDX, IDC_SPINXPAGER, m_spinxpager);
|
||||
DDX_Control(pDX, IDC_SPINXNOTES, m_spinxnotes);
|
||||
DDX_Control(pDX, IDC_SPINXMI, m_spinxmi);
|
||||
DDX_Control(pDX, IDC_SPINXLNAME, m_spinxlname);
|
||||
DDX_Control(pDX, IDC_SPINXHOMEPX, m_spinxhomepx);
|
||||
DDX_Control(pDX, IDC_SPINXHOMEP, m_spinxhomep);
|
||||
DDX_Control(pDX, IDC_SPINXFNAME, m_spinxfname);
|
||||
DDX_Control(pDX, IDC_SPINXFAXX, m_spinxfaxx);
|
||||
DDX_Control(pDX, IDC_SPINXFAX, m_spinxfax);
|
||||
DDX_Control(pDX, IDC_SPINXEMAIL2, m_spinxemail2);
|
||||
DDX_Control(pDX, IDC_SPINXEMAIL1, m_spinxemail1);
|
||||
DDX_Control(pDX, IDC_SPINXCOUNTRY, m_spinxcountry);
|
||||
DDX_Control(pDX, IDC_SPINXCITY, m_spinxcity);
|
||||
DDX_Control(pDX, IDC_SPINXCELLX, m_spinxcellx);
|
||||
DDX_Control(pDX, IDC_SPINXCELL, m_spinxcell);
|
||||
DDX_Control(pDX, IDC_SPINXADD2, m_spinxadd2);
|
||||
DDX_Control(pDX, IDC_SPINXADD1, m_spinxadd1);
|
||||
DDX_Text(pDX, IDC_XLINE1, m_xline1);
|
||||
DDX_Text(pDX, IDC_XADD1, m_xadd1);
|
||||
DDX_Text(pDX, IDC_XADD2, m_xadd2);
|
||||
DDX_Text(pDX, IDC_XCELL, m_xcell);
|
||||
DDX_Text(pDX, IDC_XCITY, m_xcity);
|
||||
DDX_Text(pDX, IDC_XCOUNTRY, m_xcountry);
|
||||
DDX_Text(pDX, IDC_XEMAIL1, m_xemail1);
|
||||
DDX_Text(pDX, IDC_XEMAIL2, m_xemail2);
|
||||
DDX_Text(pDX, IDC_XFAX, m_xfax);
|
||||
DDX_Text(pDX, IDC_XFAXX, m_xfaxx);
|
||||
DDX_Text(pDX, IDC_XFNAME, m_xfname);
|
||||
DDX_Text(pDX, IDC_XHOMEP, m_xhomep);
|
||||
DDX_Text(pDX, IDC_XHOMEPX, m_xhomepx);
|
||||
DDX_Text(pDX, IDC_XLNAME, m_xlname);
|
||||
DDX_Text(pDX, IDC_XMI, m_xmi);
|
||||
DDX_Text(pDX, IDC_XNOTES, m_xnotes);
|
||||
DDX_Text(pDX, IDC_XPAGER, m_xpager);
|
||||
DDX_Text(pDX, IDC_XPAGERC, m_xpagerc);
|
||||
DDX_Text(pDX, IDC_XPAGERX, m_xpagerx);
|
||||
DDX_Text(pDX, IDC_XSTATE, m_xstate);
|
||||
DDX_Text(pDX, IDC_XTITLE, m_xtitle);
|
||||
DDX_Text(pDX, IDC_XWEB1, m_xweb1);
|
||||
DDX_Text(pDX, IDC_XWEB2, m_xweb2);
|
||||
DDX_Text(pDX, IDC_XWORKP, m_xworkp);
|
||||
DDX_Text(pDX, IDC_XWORKPX, m_xworkpx);
|
||||
DDX_Text(pDX, IDC_XZIP, m_xzip);
|
||||
DDX_Text(pDX, IDC_XCELLX, m_xcellx);
|
||||
DDX_Text(pDX, IDC_XCADD1, m_xcadd1);
|
||||
DDX_Text(pDX, IDC_XCADD2, m_xcadd2);
|
||||
DDX_Text(pDX, IDC_XCOMP, m_xcomp);
|
||||
DDX_Text(pDX, IDC_XDEPT, m_xdept);
|
||||
DDX_Text(pDX, IDC_XMGR, m_xmgr);
|
||||
DDX_Text(pDX, IDC_XPOSN, m_xposn);
|
||||
//}}AFX_DATA_MAP
|
||||
}
|
||||
|
||||
|
||||
BEGIN_MESSAGE_MAP(CConvertDlg, CDialog)
|
||||
//{{AFX_MSG_MAP(CConvertDlg)
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CConvertDlg message handlers
|
||||
|
||||
BOOL CConvertDlg::OnInitDialog()
|
||||
{
|
||||
CDialog::OnInitDialog();
|
||||
|
||||
m_spinxzip.SetRange(0,100);
|
||||
m_spinxworkpx.SetRange(0,100);
|
||||
m_spinxworkp.SetRange(0,100);
|
||||
m_spinxweb2.SetRange(0,100);
|
||||
m_spinxweb1.SetRange(0,100);
|
||||
m_spinxtitle.SetRange(0,100);
|
||||
m_spinxstate.SetRange(0,100);
|
||||
m_spinxpagerx.SetRange(0,100);
|
||||
m_spinxpagerc.SetRange(0,100);
|
||||
m_spinxpager.SetRange(0,100);
|
||||
m_spinxnotes.SetRange(0,100);
|
||||
m_spinxmi.SetRange(0,100);
|
||||
m_spinxlname.SetRange(0,100);
|
||||
m_spinxhomepx.SetRange(0,100);
|
||||
m_spinxhomep.SetRange(0,100);
|
||||
m_spinxfname.SetRange(0,100);
|
||||
m_spinxfaxx.SetRange(0,100);
|
||||
m_spinxfax.SetRange(0,100);
|
||||
m_spinxemail2.SetRange(0,100);
|
||||
m_spinxemail1.SetRange(0,100);
|
||||
m_spinxcountry.SetRange(0,100);
|
||||
m_spinxcity.SetRange(0,100);
|
||||
m_spinxcellx.SetRange(0,100);
|
||||
m_spinxcell.SetRange(0,100);
|
||||
m_spinxadd2.SetRange(0,100);
|
||||
m_spinxadd1.SetRange(0,100);
|
||||
m_spinxcomp.SetRange(0,100);
|
||||
m_spinxdept.SetRange(0,100);
|
||||
m_spinxposn.SetRange(0,100);
|
||||
m_spinxmgr.SetRange(0,100);
|
||||
m_spinxcadd1.SetRange(0,100);
|
||||
m_spinxcadd2.SetRange(0,100);
|
||||
|
||||
return TRUE; // return TRUE unless you set the focus to a control
|
||||
// EXCEPTION: OCX Property Pages should return FALSE
|
||||
}
|
||||
Reference in a new issue