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.

98 lines
2.5 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1999 - 1999 **/
  4. /**********************************************************************/
  5. /*
  6. sscoppp.h
  7. The superscope properties page
  8. FILE HISTORY:
  9. */
  10. #if !defined(AFX_SSCOPPP_H__A1A51389_AAB3_11D0_AB8B_00C04FC3357A__INCLUDED_)
  11. #define AFX_SSCOPPP_H__A1A51389_AAB3_11D0_AB8B_00C04FC3357A__INCLUDED_
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CSuperscopePropGeneral dialog
  17. class CSuperscopePropGeneral : public CPropertyPageBase
  18. {
  19. DECLARE_DYNCREATE(CSuperscopePropGeneral)
  20. // Construction
  21. public:
  22. CSuperscopePropGeneral();
  23. ~CSuperscopePropGeneral();
  24. // Dialog Data
  25. //{{AFX_DATA(CSuperscopePropGeneral)
  26. enum { IDD = IDP_SUPERSCOPE_GENERAL };
  27. CString m_strSuperscopeName;
  28. //}}AFX_DATA
  29. UINT m_uImage;
  30. virtual BOOL OnPropertyChange(BOOL bScope, LONG_PTR *ChangeMask);
  31. // Context Help Support
  32. virtual DWORD * GetHelpMap() { return DhcpGetHelpMap(CSuperscopePropGeneral::IDD); }
  33. // Overrides
  34. // ClassWizard generate virtual function overrides
  35. //{{AFX_VIRTUAL(CSuperscopePropGeneral)
  36. public:
  37. virtual BOOL OnApply();
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  40. //}}AFX_VIRTUAL
  41. // Implementation
  42. protected:
  43. // Generated message map functions
  44. //{{AFX_MSG(CSuperscopePropGeneral)
  45. afx_msg void OnChangeEditSuperscopeName();
  46. virtual BOOL OnInitDialog();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. public:
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  53. //}}AFX
  54. class CSuperscopeProperties : public CPropertyPageHolderBase
  55. {
  56. friend class CSuperscopePropGeneral;
  57. public:
  58. CSuperscopeProperties(ITFSNode * pNode,
  59. IComponentData * pComponentData,
  60. ITFSComponentData * pTFSCompData,
  61. LPCTSTR pszSheetName);
  62. virtual ~CSuperscopeProperties();
  63. ITFSComponentData * GetTFSCompData()
  64. {
  65. if (m_spTFSCompData)
  66. m_spTFSCompData->AddRef();
  67. return m_spTFSCompData;
  68. }
  69. public:
  70. CSuperscopePropGeneral m_pageGeneral;
  71. protected:
  72. SPITFSComponentData m_spTFSCompData;
  73. };
  74. #endif // !defined(AFX_SSCOPPP_H__A1A51389_AAB3_11D0_AB8B_00C04FC3357A__INCLUDED_)