// SelContent.cpp : implementation file // #include "stdafx.h" #include "ylgl.h" #include "SelContent.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // SelContent dialog SelContent::SelContent(CWnd* pParent /*=NULL*/) : CDialog(SelContent::IDD, pParent) { //{{AFX_DATA_INIT(SelContent) m_bBooking = FALSE; m_bTake = FALSE; m_bChoose = FALSE; m_bFrame = FALSE; //}}AFX_DATA_INIT } void SelContent::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(SelContent) DDX_Check(pDX, IDC_CHECK2, m_bBooking); DDX_Check(pDX, IDC_CHECK3, m_bTake); DDX_Check(pDX, IDC_CHECK4, m_bChoose); DDX_Check(pDX, IDC_CHECK1, m_bFrame); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(SelContent, CDialog) //{{AFX_MSG_MAP(SelContent) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // SelContent message handlers void SelContent::OnOK() { // TODO: Add extra validation here UpdateData(); CDialog::OnOK(); }