home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 27 / IOPROG_27.ISO / SOFT / ADSDK.ZIP / Samples / General / ADQI / ADs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-04-06  |  2.4 KB  |  106 lines

  1. // ADs.h: interface for the CADs class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_ADS_H__81709782_0672_11D2_B218_0000F87A6B50__INCLUDED_)
  6. #define AFX_ADS_H__81709782_0672_11D2_B218_0000F87A6B50__INCLUDED_
  7.  
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11.  
  12.  
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CDlgIADs dialog
  16.  
  17. class CDlgIADs : public CDialog
  18. {
  19. // Construction
  20. public:
  21.     CDlgIADs(LPUNKNOWN, CWnd* pParent = NULL);   // standard constructor
  22.     ~CDlgIADs();
  23. // Dialog Data
  24.     //{{AFX_DATA(CDlgIADs)
  25.     enum { IDD = IDD_IADS };
  26.     CListBox    m_cValueList;
  27.     CComboBox    m_cAttrList;
  28.     CString    m_sADsPath;
  29.     CString    m_sClass;
  30.     CString    m_sName;
  31.     CString    m_sParent;
  32.     CString    m_sSchema;
  33.     IADs   *m_pADs;
  34.     CString    m_sGUID;
  35.     //}}AFX_DATA
  36.  
  37.  
  38. // Overrides
  39.     // ClassWizard generated virtual function overrides
  40.     //{{AFX_VIRTUAL(CDlgIADs)
  41.     protected:
  42.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  43.     //}}AFX_VIRTUAL
  44.  
  45. // Implementation
  46. protected:
  47.     
  48.     // Generated message map functions
  49.     //{{AFX_MSG(CDlgIADs)
  50.     virtual BOOL OnInitDialog();
  51.     afx_msg void OnGet();
  52.     afx_msg void OnGetEx();
  53.     afx_msg void OnGetInfo();
  54.     afx_msg void OnSetInfo();
  55.     afx_msg void OnGetInfoex();
  56.     afx_msg void OnPut();
  57.     afx_msg void OnPutEx();
  58.     afx_msg void OnParentPath();
  59.     afx_msg void OnSchemaPath();
  60.     afx_msg void OnBindGuid();
  61.     afx_msg void OnSelChangeAttrList();
  62.     afx_msg void OnDblClkAttrValue();
  63.     afx_msg void OnCopy();
  64.     //}}AFX_MSG
  65.     DECLARE_MESSAGE_MAP()
  66. };
  67.  
  68.  
  69. #endif // !defined(AFX_ADS_H__81709782_0672_11D2_B218_0000F87A6B50__INCLUDED_)
  70. /////////////////////////////////////////////////////////////////////////////
  71. // CGetInfoExDlg dialog
  72.  
  73. class CGetInfoExDlg : public CDialog
  74. {
  75. // Construction
  76. public:
  77.     CGetInfoExDlg(CWnd* pParent = NULL);   // standard constructor
  78.     CString GetAttribute() { return m_sAttr; }
  79.  
  80. // Dialog Data
  81.     //{{AFX_DATA(CGetInfoExDlg)
  82.     enum { IDD = IDD_GETINFOEX };
  83.     CString    m_sAttrText;
  84.     //}}AFX_DATA
  85.  
  86.  
  87. // Overrides
  88.     // ClassWizard generated virtual function overrides
  89.     //{{AFX_VIRTUAL(CGetInfoExDlg)
  90.     protected:
  91.         
  92.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  93.     //}}AFX_VIRTUAL
  94.  
  95. // Implementation
  96. protected:
  97.     CString m_sAttr;
  98.     // Generated message map functions
  99.     //{{AFX_MSG(CGetInfoExDlg)
  100.     virtual void OnOK();
  101.     //}}AFX_MSG
  102.     DECLARE_MESSAGE_MAP()
  103.  
  104.     
  105. };
  106.