home *** CD-ROM | disk | FTP | other *** search
- // Ch17Dialog.cpp : implementation file
- //
-
- #include "stdafx.h"
- #include "Ch17.h"
- #include "Ch17Dialog.h"
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
- // CCh17Dialog dialog
-
-
- CCh17Dialog::CCh17Dialog(CWnd* pParent /*=NULL*/)
- : CDialog(CCh17Dialog::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CCh17Dialog)
- m_int = 0;
- m_checkbox = FALSE;
- //}}AFX_DATA_INIT
- }
-
-
- void CCh17Dialog::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CCh17Dialog)
- DDX_Text(pDX, IDC_EDIT1, m_int);
- DDV_MinMaxInt(pDX, m_int, 1, 20);
- DDX_Check(pDX, IDC_CHECK1, m_checkbox);
- //}}AFX_DATA_MAP
- }
-
-
- BEGIN_MESSAGE_MAP(CCh17Dialog, CDialog)
- //{{AFX_MSG_MAP(CCh17Dialog)
- // NOTE: the ClassWizard will add message map macros here
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
-
- /////////////////////////////////////////////////////////////////////////////
- // CCh17Dialog message handlers
-