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.

76 lines
2.0 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (C) Microsoft Corporation
  4. //
  5. // Module Name:
  6. //
  7. // IASBooleanEditorPage.h
  8. //
  9. // Abstract:
  10. //
  11. // Declaration of the CIASBooleanEditorPage class.
  12. //
  13. // This dialog allows the user to edit an attribute value consisting
  14. // of a generic string.
  15. //
  16. // See IASStringEditorPage.cpp for implementation.
  17. //////////////////////////////////////////////////////////////////////////////
  18. #if !defined(_BOOLEAN_ATTRIBUTE_EDITOR_PAGE_H_)
  19. #define _BOOLEAN_ATTRIBUTE_EDITOR_PAGE_H_
  20. #include "iasbooleanattributeeditor.h"
  21. #if _MSC_VER >= 1000
  22. #pragma once
  23. #endif // _MSC_VER >= 1000
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CIASBooleanEditorPage dialog
  26. class CIASBooleanEditorPage : public CHelpDialog
  27. {
  28. DECLARE_DYNCREATE(CIASBooleanEditorPage)
  29. // Construction
  30. public:
  31. CIASBooleanEditorPage();
  32. ~CIASBooleanEditorPage();
  33. // Dialog Data
  34. //{{AFX_DATA(CIASBooleanEditorPage)
  35. enum { IDD = IDD_IAS_BOOLEAN_ATTR };
  36. ::CString m_strAttrFormat;
  37. ::CString m_strAttrName;
  38. ::CString m_strAttrType;
  39. bool m_bValue;
  40. //}}AFX_DATA
  41. // Overrides
  42. // ClassWizard generate virtual function overrides
  43. //{{AFX_VIRTUAL(CIASBooleanEditorPage)
  44. protected:
  45. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  46. //}}AFX_VIRTUAL
  47. // Implementation
  48. private:
  49. BOOL m_fInitializing;
  50. protected:
  51. // Generated message map functions
  52. //{{AFX_MSG(CIASBooleanEditorPage)
  53. afx_msg void OnContextMenu(CWnd* pWnd, ::CPoint point);
  54. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  55. afx_msg void OnRadioTrue();
  56. afx_msg void OnRadioFalse();
  57. virtual BOOL OnInitDialog();
  58. //}}AFX_MSG
  59. DECLARE_MESSAGE_MAP()
  60. };
  61. //{{AFX_INSERT_LOCATION}}
  62. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  63. #endif // _BOOLEAN_ATTRIBUTE_EDITOR_PAGE_H_