Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
2.5 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. /*++
  3. Copyright (C) Microsoft Corporation, 1998 - 1999
  4. Module Name:
  5. IASEnumerableEditorPage.h
  6. Abstract:
  7. Declaration of the CIASPgEnumAttr class.
  8. This dialog allows the user to choose an attribute value from an enumeration.
  9. See IASEnumerableEditorPage.cpp for implementation.
  10. Revision History:
  11. mmaguire 06/25/98 - revised Baogang Yao's original implementation
  12. --*/
  13. //////////////////////////////////////////////////////////////////////////////
  14. #if !defined(_ENUMERABLE_ATTRIBUTE_EDITOR_PAGE_H_)
  15. #define _ENUMERABLE_ATTRIBUTE_EDITOR_PAGE_H_
  16. //////////////////////////////////////////////////////////////////////////////
  17. // BEGIN INCLUDES
  18. //
  19. // where we can find what this class derives from:
  20. //
  21. //
  22. // where we can find what this class has or uses:
  23. //
  24. //
  25. // END INCLUDES
  26. //////////////////////////////////////////////////////////////////////////////
  27. #if _MSC_VER >= 1000
  28. #pragma once
  29. #endif // _MSC_VER >= 1000
  30. // IASPgEnum.h : header file
  31. //
  32. #include "dlgcshlp.h"
  33. /////////////////////////////////////////////////////////////////////////////
  34. // CIASPgEnumAttr dialog
  35. class CIASPgEnumAttr : public CHelpDialog
  36. {
  37. DECLARE_DYNCREATE(CIASPgEnumAttr)
  38. // Construction
  39. public:
  40. CIASPgEnumAttr();
  41. ~CIASPgEnumAttr();
  42. // Call this to pass this page an interface pointer to the "AttributeInfo"
  43. // which describes the attribute we are editing.
  44. HRESULT SetData( IIASAttributeInfo *pIASAttributeInfo );
  45. // Modify the m_strAttrXXXX members below before creating the page to
  46. // pass the value.
  47. // Dialog Data
  48. //{{AFX_DATA(CIASPgEnumAttr)
  49. enum { IDD = IDD_IAS_ENUM_ATTR };
  50. ::CString m_strAttrFormat;
  51. ::CString m_strAttrName;
  52. ::CString m_strAttrType;
  53. ::CString m_strAttrValue;
  54. //}}AFX_DATA
  55. // Overrides
  56. // ClassWizard generate virtual function overrides
  57. //{{AFX_VIRTUAL(CIASPgEnumAttr)
  58. protected:
  59. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  60. //}}AFX_VIRTUAL
  61. // Implementation
  62. protected:
  63. // Generated message map functions
  64. //{{AFX_MSG(CIASPgEnumAttr)
  65. virtual BOOL OnInitDialog();
  66. // afx_msg void OnContextMenu(CWnd* pWnd, ::CPoint point);
  67. // afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  68. //}}AFX_MSG
  69. DECLARE_MESSAGE_MAP()
  70. CComPtr<IIASAttributeInfo> m_spIASAttributeInfo;
  71. };
  72. //{{AFX_INSERT_LOCATION}}
  73. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  74. #endif // _ENUMERABLE_ATTRIBUTE_EDITOR_PAGE_H_