GME
13
|
00001 // ClosureRes.cpp : implementation file 00002 // 00003 00004 #include "stdafx.h" 00005 #include "mgautil.h" 00006 #include "ClosureRes.h" 00007 00008 #ifdef _DEBUG 00009 #define new DEBUG_NEW 00010 #undef THIS_FILE 00011 static char THIS_FILE[] = __FILE__; 00012 #endif 00013 00015 // CClosureRes dialog 00016 00017 00018 CClosureRes::CClosureRes(CWnd* pParent /*=NULL*/) 00019 : CDialog(CClosureRes::IDD, pParent) 00020 { 00021 //{{AFX_DATA_INIT(CClosureRes) 00022 // NOTE: the ClassWizard will add member initialization here 00023 //}}AFX_DATA_INIT 00024 } 00025 00026 00027 void CClosureRes::DoDataExchange(CDataExchange* pDX) 00028 { 00029 CDialog::DoDataExchange(pDX); 00030 //{{AFX_DATA_MAP(CClosureRes) 00031 DDX_Control(pDX, IDC_LIST1, m_ctrlList); 00032 //}}AFX_DATA_MAP 00033 } 00034 00035 00036 BEGIN_MESSAGE_MAP(CClosureRes, CDialog) 00037 //{{AFX_MSG_MAP(CClosureRes) 00038 //}}AFX_MSG_MAP 00039 END_MESSAGE_MAP() 00040 00042 // CClosureRes message handlers 00043 00044 BOOL CClosureRes::OnInitDialog() 00045 { 00046 CDialog::OnInitDialog(); 00047 00048 for( unsigned int k = 0; k < m_metaKindsAndFolders.size(); ++k) 00049 { 00050 m_ctrlList.InsertString( k, m_metaKindsAndFolders[k].c_str()); 00051 } 00052 00053 return TRUE; // return TRUE unless you set the focus to a control 00054 // EXCEPTION: OCX Property Pages should return FALSE 00055 }