www.pudn.com > ImgSeg.rar > DlgImpPal.cpp
// DlgImpPal.cpp : implementation file
//
#include "stdafx.h"
#include "ImgSeg.h"
#include "DlgImpPal.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgImpPal dialog
CDlgImpPal::CDlgImpPal(CWnd* pParent /*=NULL*/)
: CDialog(CDlgImpPal::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgImpPal)
m_ehcnum = 0;
//}}AFX_DATA_INIT
}
void CDlgImpPal::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgImpPal)
DDX_Text(pDX, IDC_ENCNUM, m_ehcnum);
DDV_MinMaxInt(pDX, m_ehcnum, 0, 20);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgImpPal, CDialog)
//{{AFX_MSG_MAP(CDlgImpPal)
ON_BN_CLICKED(IDC_OK, OnOk)
ON_BN_CLICKED(IDC_CANCEL, Cancel)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgImpPal message handlers
void CDlgImpPal::OnOk()
{
// TODO: Add your control notification handler code here
OnOK();
}
void CDlgImpPal::Cancel()
{
// TODO: Add your control notification handler code here
OnCancel();
}