Source code of Windows XP (NT5)
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.

80 lines
2.4 KiB

  1. //+---------------------------------------------------------------------------
  2. /////////////////////////////////////////////////////////////////////////////////
  3. //
  4. // Microsoft Windows
  5. // Copyright (C) Microsoft Corporation, 2000-2001.
  6. //
  7. // File: SaferLevelGeneral.h
  8. //
  9. // Contents: Declaration of CSaferLevelGeneral
  10. //
  11. //----------------------------------------------------------------------------
  12. #if !defined(AFX_SAFERLEVELGENERAL_H__C8398890_ED8E_40E1_AEE6_91BFD32257B1__INCLUDED_)
  13. #define AFX_SAFERLEVELGENERAL_H__C8398890_ED8E_40E1_AEE6_91BFD32257B1__INCLUDED_
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. #include "SaferLevel.h"
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CSaferLevelGeneral dialog
  20. class CSaferLevelGeneral : public CHelpPropertyPage
  21. {
  22. // Construction
  23. public:
  24. CSaferLevelGeneral (
  25. CSaferLevel& rSaferLevel,
  26. bool bReadOnly,
  27. LONG_PTR lNotifyHandle,
  28. LPDATAOBJECT pDataObject,
  29. DWORD dwDefaultSaferLevel);
  30. ~CSaferLevelGeneral();
  31. // Dialog Data
  32. //{{AFX_DATA(CSaferLevelGeneral)
  33. enum { IDD = IDD_SAFER_LEVEL_GENERAL };
  34. // NOTE - ClassWizard will add data members here.
  35. // DO NOT EDIT what you see in these blocks of generated code !
  36. //}}AFX_DATA
  37. // Overrides
  38. // ClassWizard generate virtual function overrides
  39. //{{AFX_VIRTUAL(CSaferLevelGeneral)
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  42. virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. protected:
  46. // Generated message map functions
  47. //{{AFX_MSG(CSaferLevelGeneral)
  48. virtual BOOL OnInitDialog();
  49. afx_msg void OnSaferLevelSetAsDefault();
  50. afx_msg void OnSetfocusSaferLevelDescription();
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. virtual void DoContextHelp (HWND hWndControl);
  54. virtual BOOL OnApply();
  55. private:
  56. CSaferLevel& m_rSaferLevel;
  57. const bool m_bReadOnly;
  58. bool m_bSetAsDefault;
  59. LONG_PTR m_lNotifyHandle;
  60. bool m_bDirty;
  61. LPDATAOBJECT m_pDataObject;
  62. DWORD m_dwDefaultSaferLevel;
  63. bool m_bFirst;
  64. bool m_bLevelChanged;
  65. };
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  68. #endif // !defined(AFX_SAFERLEVELGENERAL_H__C8398890_ED8E_40E1_AEE6_91BFD32257B1__INCLUDED_)