GME  13
MetaDlg.h
Go to the documentation of this file.
00001 #if !defined(AFX_METADLG_H__D03EC328_447B_11D4_B3F6_005004D38590__INCLUDED_)
00002 #define AFX_METADLG_H__D03EC328_447B_11D4_B3F6_005004D38590__INCLUDED_
00003 
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007 // MetaDlg.h : header file
00008 //
00009 
00011 // CMetaDlg dialog
00012 
00013 class CMetaDlg : public CDialog
00014 {
00015 // Construction
00016 public:
00017         CMetaDlg(CWnd* pParent = NULL);   // standard constructor
00018 
00019 // Dialog Data
00020         //{{AFX_DATA(CMetaDlg)
00021         enum { IDD = IDD_METADLG };
00022         CButton m_purge;
00023         CButton m_remove;
00024         CListCtrl       m_list;
00025         //}}AFX_DATA
00026 
00027 
00028 // Overrides
00029         // ClassWizard generated virtual function overrides
00030         //{{AFX_VIRTUAL(CMetaDlg)
00031         protected:
00032         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00033         virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
00034         //}}AFX_VIRTUAL
00035 
00036 // Implementation
00037 protected:
00038 
00039         // Generated message map functions
00040         //{{AFX_MSG(CMetaDlg)
00041         virtual BOOL OnInitDialog();
00042         afx_msg void OnAddfile();
00043         afx_msg void OnRemove();
00044         virtual void OnOK();
00045         afx_msg void OnPurge();
00046         //}}AFX_MSG
00047         DECLARE_MESSAGE_MAP()
00048 
00049 protected:
00050         void ResetItems();
00051 
00052         CComObjPtr<IMgaRegistrar> registrar;
00053 
00054         CString to_select;
00055 public:
00056         CString name;           // dialog return data
00057         CString connstr;        // dialog return data 
00058         metadlg_enum flags;
00059         afx_msg void OnSize(UINT nType, int cx, int cy);
00060 };
00061 
00062 //{{AFX_INSERT_LOCATION}}
00063 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00064 
00065 #endif // !defined(AFX_METADLG_H__D03EC328_447B_11D4_B3F6_005004D38590__INCLUDED_)