GME  13
RegistryBrowserDlg.h
Go to the documentation of this file.
00001 #if !defined(AFX_REGISTRYBROWSERDLG_H__96478D7F_0A33_4570_B83E_BF205F5DA649__INCLUDED_)
00002 #define AFX_REGISTRYBROWSERDLG_H__96478D7F_0A33_4570_B83E_BF205F5DA649__INCLUDED_
00003 
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007 
00008 #include "SplitterBar.h"
00009 #include "RegistryTree.h"
00010 #include "RegBrwNode.h"
00011 #include "RegistryPanel.h"
00012 // RegistryBrowserDlg.h : header file
00013 //
00014 
00016 // CRegistryBrowserDlg dialog
00017 
00018 class CRegistryBrowserDlg : public CDialog
00019 {
00020 // Construction
00021 public:
00022         void UpdateRegistry(void);
00023         void AddNodes(CRegBrwNode *parent, CComPtr<IMgaRegNodes> &regNodes);
00024         void FillNodes(void);
00025         CRegistryBrowserDlg(const CComPtr<IMgaObject> &object, CWnd* pParent = NULL);   // standard constructor
00026         ~CRegistryBrowserDlg();
00027 
00028 // Dialog Data
00029         //{{AFX_DATA(CRegistryBrowserDlg)
00030         enum { IDD = IDD_REGISTRY_BROWSER };
00031         CRegistryPanel  m_wndRegNode;
00032         CRegistryTree   m_wndRegistryTree;
00033         CString m_objectKind;
00034         CString m_objectName;
00035         CString m_objectRole;
00036         CString m_regnodePath;
00037         CString m_regnodeStatus;
00038         CString m_regnodeValue;
00039         //}}AFX_DATA
00040         CSplitterBar m_wndSplitterBar;
00041         CTypedPtrList<CPtrList, CRegBrwNode*>   m_nodes;
00042         CComPtr<IMgaObject> m_object;
00043         CMap<int, int, int, int> m_imageMap;
00044 
00045 
00046 
00047 // Overrides
00048         // ClassWizard generated virtual function overrides
00049         //{{AFX_VIRTUAL(CRegistryBrowserDlg)
00050         public:
00051         virtual BOOL PreTranslateMessage(MSG* pMsg);
00052         protected:
00053         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00054         //}}AFX_VIRTUAL
00055 
00056 // Implementation
00057 protected:
00058 
00059         // Generated message map functions
00060         //{{AFX_MSG(CRegistryBrowserDlg)
00061         virtual BOOL OnInitDialog();
00062         afx_msg void OnSize(UINT nType, int cx, int cy);
00063         afx_msg void OnChangeRegnodeValue();
00064         virtual void OnOK();
00065         //}}AFX_MSG
00066 
00067         CImageList      m_imageList;
00068 
00069         DECLARE_MESSAGE_MAP()
00070 };
00071 
00072 //{{AFX_INSERT_LOCATION}}
00073 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00074 
00075 #endif // !defined(AFX_REGISTRYBROWSERDLG_H__96478D7F_0A33_4570_B83E_BF205F5DA649__INCLUDED_)