home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 27 / IOPROG_27.ISO / SOFT / ADSDK.ZIP / Samples / General / ADQI / DirectoryObject.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-13  |  2.4 KB  |  94 lines

  1. // DirectoryObject.h: interface for the CDirectoryObject class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_DIRECTORYOBJECT_H__81709784_0672_11D2_B218_0000F87A6B50__INCLUDED_)
  6. #define AFX_DIRECTORYOBJECT_H__81709784_0672_11D2_B218_0000F87A6B50__INCLUDED_
  7.  
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11.  
  12.  
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CDlgIDirectoryObject dialog
  16.  
  17. class CDlgIDirectoryObject : public CDialog
  18. {
  19. // Construction
  20. public:
  21.     CDlgIDirectoryObject(LPUNKNOWN pUnk, CWnd* pParent = NULL);   // standard constructor
  22.     ~CDlgIDirectoryObject();
  23. // Dialog Data
  24.     //{{AFX_DATA(CDlgIDirectoryObject)
  25.     enum { IDD = IDD_IDIRECTORYOBJECT };
  26.     CEdit    m_cAttributes;
  27.     CListBox    m_cValueList;
  28.     CString    m_sDN;
  29.     CString    m_sRDN;
  30.     CString    m_sSchema;
  31.     CString    m_sClass;
  32.     CString    m_sParent;
  33.     CString    m_sAttributes;
  34.     //}}AFX_DATA
  35.  
  36.  
  37. // Overrides
  38.     // ClassWizard generated virtual function overrides
  39.     //{{AFX_VIRTUAL(CDlgIDirectoryObject)
  40.     protected:
  41.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  42.     //}}AFX_VIRTUAL
  43.  
  44. // Implementation
  45. protected:
  46.     void ShowAttributes();
  47.      IDirectoryObject *m_pDirObject;
  48.  
  49.     // Generated message map functions
  50.     //{{AFX_MSG(CDlgIDirectoryObject)
  51.     afx_msg void OnDelete();
  52.     afx_msg void OnGet();
  53.     afx_msg void OnChangeAttribute();
  54.     virtual BOOL OnInitDialog();
  55.     //}}AFX_MSG
  56.     DECLARE_MESSAGE_MAP()
  57. };
  58.  
  59. #endif // !defined(AFX_DIRECTORYOBJECT_H__81709784_0672_11D2_B218_0000F87A6B50__INCLUDED_)
  60. /////////////////////////////////////////////////////////////////////////////
  61. // CDeleteObjectDlg dialog
  62.  
  63. class CDeleteObjectDlg : public CDialog
  64. {
  65. // Construction
  66. public:
  67.     CDeleteObjectDlg(CWnd* pParent = NULL);   // standard constructor
  68.     CString GetObjectName() { return m_sRDN; }
  69. // Dialog Data
  70.     //{{AFX_DATA(CDeleteObjectDlg)
  71.     enum { IDD = IDD_DELETEOBJECT };
  72.     CString    m_sDelete;
  73.     //}}AFX_DATA
  74.  
  75.  
  76. // Overrides
  77.     // ClassWizard generated virtual function overrides
  78.     //{{AFX_VIRTUAL(CDeleteObjectDlg)
  79.     protected:
  80.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  81.     //}}AFX_VIRTUAL
  82.  
  83. // Implementation
  84. protected:
  85.     CString m_sRDN;
  86.  
  87.     // Generated message map functions
  88.     //{{AFX_MSG(CDeleteObjectDlg)
  89.     virtual void OnOK();
  90.     afx_msg void OnChangeDelete();
  91.     //}}AFX_MSG
  92.     DECLARE_MESSAGE_MAP()
  93. };
  94.