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.

83 lines
2.7 KiB

  1. //+---------------------------------------------------------------------------
  2. /////////////////////////////////////////////////////////////////////////////////
  3. //
  4. // Microsoft Windows
  5. // Copyright (C) Microsoft Corporation, 2000-2001.
  6. //
  7. // File: SaferEntryInternetZonePropertyPage.h
  8. //
  9. // Contents: Declaration of CSaferEntryInternetZonePropertyPage
  10. //
  11. //----------------------------------------------------------------------------
  12. #if !defined(AFX_SAFERENTRYINTERNETZONEPROPERTYPAGE_H__2C1B5841_0334_4763_8AEF_1EE611B1958B__INCLUDED_)
  13. #define AFX_SAFERENTRYINTERNETZONEPROPERTYPAGE_H__2C1B5841_0334_4763_8AEF_1EE611B1958B__INCLUDED_
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. // SaferEntryInternetZonePropertyPage.h : header file
  18. //
  19. #include "SaferEntry.h"
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CSaferEntryInternetZonePropertyPage dialog
  22. class CCertMgrComponentData; // forward declaration
  23. class CSaferEntryInternetZonePropertyPage : public CHelpPropertyPage
  24. {
  25. // Construction
  26. public:
  27. CSaferEntryInternetZonePropertyPage(
  28. CSaferEntry& rSaferEntry,
  29. bool bNew,
  30. LONG_PTR lNotifyHandle,
  31. LPDATAOBJECT pDataObject,
  32. bool bReadOnly,
  33. CCertMgrComponentData* pCompData,
  34. bool bIsMachine);
  35. ~CSaferEntryInternetZonePropertyPage();
  36. // Dialog Data
  37. //{{AFX_DATA(CSaferEntryInternetZonePropertyPage)
  38. enum { IDD = IDD_SAFER_ENTRY_INTERNET_ZONE };
  39. CComboBox m_internetZoneCombo;
  40. CComboBox m_securityLevelCombo;
  41. //}}AFX_DATA
  42. // Overrides
  43. // ClassWizard generate virtual function overrides
  44. //{{AFX_VIRTUAL(CSaferEntryInternetZonePropertyPage)
  45. public:
  46. virtual BOOL OnApply();
  47. protected:
  48. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  49. //}}AFX_VIRTUAL
  50. // Implementation
  51. protected:
  52. // Generated message map functions
  53. //{{AFX_MSG(CSaferEntryInternetZonePropertyPage)
  54. virtual BOOL OnInitDialog();
  55. afx_msg void OnSelchangeIzoneEntrySecurityLevel();
  56. afx_msg void OnSelchangeIzoneEntryZones();
  57. //}}AFX_MSG
  58. DECLARE_MESSAGE_MAP()
  59. virtual void DoContextHelp (HWND hWndControl);
  60. void InitializeInternetZoneComboBox (DWORD UrlZoneId);
  61. private:
  62. CSaferEntry& m_rSaferEntry;
  63. bool m_bDirty;
  64. LONG_PTR m_lNotifyHandle;
  65. LPDATAOBJECT m_pDataObject;
  66. const bool m_bReadOnly;
  67. CCertMgrComponentData* m_pCompData;
  68. bool m_bIsMachine;
  69. };
  70. //{{AFX_INSERT_LOCATION}}
  71. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  72. #endif // !defined(AFX_SAFERENTRYINTERNETZONEPROPERTYPAGE_H__2C1B5841_0334_4763_8AEF_1EE611B1958B__INCLUDED_)