GME  13
ClosureKindSel.cpp
Go to the documentation of this file.
00001 // ClosureKindSel.cpp : implementation file
00002 //
00003 
00004 #include "stdafx.h"
00005 #include "mgautil.h"
00006 #include "ClosureKindSel.h"
00007 
00008 #ifdef _DEBUG
00009 #define new DEBUG_NEW
00010 #undef THIS_FILE
00011 static char THIS_FILE[] = __FILE__;
00012 #endif
00013 
00015 // CClosureKindSel dialog
00016 
00017 
00018 CClosureKindSel::CClosureKindSel(bool fld, bool mdl, bool atm, bool set, bool ref, CWnd* pParent /*=NULL*/)
00019         : CDialog(CClosureKindSel::IDD, pParent)
00020 {
00021         //{{AFX_DATA_INIT(CClosureKindSel)
00022         m_folder = FALSE;
00023         m_model = FALSE;
00024         m_atom = FALSE;
00025         m_set = FALSE;
00026         m_ref = FALSE;
00027         //}}AFX_DATA_INIT
00028         m_folder = fld?TRUE:FALSE;
00029         m_model  = mdl?TRUE:FALSE;
00030         m_atom   = atm?TRUE:FALSE;
00031         m_set    = set?TRUE:FALSE;
00032         m_ref    = ref?TRUE:FALSE;
00033 }
00034 
00035 
00036 void CClosureKindSel::DoDataExchange(CDataExchange* pDX)
00037 {
00038         CDialog::DoDataExchange(pDX);
00039         //{{AFX_DATA_MAP(CClosureKindSel)
00040         DDX_Check(pDX, IDC_CHECK1, m_folder);
00041         DDX_Check(pDX, IDC_CHECK2, m_model);
00042         DDX_Check(pDX, IDC_CHECK3, m_atom);
00043         DDX_Check(pDX, IDC_CHECK4, m_set);
00044         DDX_Check(pDX, IDC_CHECK5, m_ref);
00045         //}}AFX_DATA_MAP
00046 }
00047 
00048 
00049 BEGIN_MESSAGE_MAP(CClosureKindSel, CDialog)
00050         //{{AFX_MSG_MAP(CClosureKindSel)
00051         //}}AFX_MSG_MAP
00052 END_MESSAGE_MAP()
00053 
00055 // CClosureKindSel message handlers
00056 
00057 BOOL CClosureKindSel::OnInitDialog() 
00058 {
00059         CDialog::OnInitDialog();
00060 
00061         // TODO: Add extra initialization here
00062         
00063         return TRUE;  // return TRUE unless you set the focus to a control
00064                       // EXCEPTION: OCX Property Pages should return FALSE
00065 }