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.

191 lines
4.5 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: genpage.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // genpage.h : header file
  11. //
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CGeneralPage dialog
  14. class CGeneralPage : public CPropertyPage
  15. {
  16. DECLARE_DYNCREATE(CGeneralPage)
  17. // Construction
  18. public:
  19. CGeneralPage();
  20. ~CGeneralPage();
  21. BOOL Create(LPCTSTR lpszTemplateName, CWnd* pParentWnd = NULL);
  22. BOOL Create(UINT nIDTemplate, CWnd* pParentWnd = NULL);
  23. // Dialog Data
  24. //{{AFX_DATA(CGeneralPage)
  25. enum { IDD = IDD_GENERAL };
  26. ::CEdit m_EditCtrl;
  27. CString m_szName;
  28. //}}AFX_DATA
  29. // Overrides
  30. // ClassWizard generate virtual function overrides
  31. //{{AFX_VIRTUAL(CGeneralPage)
  32. public:
  33. virtual BOOL OnApply();
  34. protected:
  35. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  36. //}}AFX_VIRTUAL
  37. // Implementation
  38. protected:
  39. // Generated message map functions
  40. //{{AFX_MSG(CGeneralPage)
  41. afx_msg void OnDestroy();
  42. afx_msg void OnEditChange();
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. public:
  46. LONG_PTR m_hConsoleHandle; // Handle given to the snap-in by the console
  47. private:
  48. BOOL m_bUpdate;
  49. };
  50. /////////////////////////////////////////////////////////////////////////////
  51. // CExtensionPage dialog
  52. class CExtensionPage : public CPropertyPage
  53. {
  54. DECLARE_DYNCREATE(CExtensionPage)
  55. // Construction
  56. public:
  57. CExtensionPage();
  58. ~CExtensionPage();
  59. // Dialog Data
  60. //{{AFX_DATA(CExtensionPage)
  61. enum { IDD = IDD_EXTENSION_PAGE };
  62. ::CStatic m_hTextCtrl;
  63. CString m_szText;
  64. //}}AFX_DATA
  65. // Overrides
  66. // ClassWizard generate virtual function overrides
  67. //{{AFX_VIRTUAL(CExtensionPage)
  68. protected:
  69. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  70. //}}AFX_VIRTUAL
  71. // Implementation
  72. protected:
  73. // Generated message map functions
  74. //{{AFX_MSG(CExtensionPage)
  75. virtual BOOL OnInitDialog();
  76. //}}AFX_MSG
  77. DECLARE_MESSAGE_MAP()
  78. };
  79. /////////////////////////////////////////////////////////////////////////////
  80. // CStartUpWizard dialog
  81. class CBaseWizard : public CPropertyPage
  82. {
  83. DECLARE_DYNCREATE(CBaseWizard)
  84. public:
  85. CBaseWizard(UINT id);
  86. CBaseWizard() {};
  87. // Implementation
  88. public:
  89. PROPSHEETPAGE m_psp97;
  90. protected:
  91. // Generated message map functions
  92. //{{AFX_MSG(CStartUpWizard)
  93. afx_msg void OnDestroy();
  94. //}}AFX_MSG
  95. DECLARE_MESSAGE_MAP()
  96. };
  97. class CStartUpWizard : public CBaseWizard
  98. {
  99. DECLARE_DYNCREATE(CStartUpWizard)
  100. // Construction
  101. public:
  102. CStartUpWizard();
  103. ~CStartUpWizard();
  104. // Dialog Data
  105. //{{AFX_DATA(CStartUpWizard)
  106. enum { IDD = IDD_INSERT_WIZARD };
  107. // NOTE - ClassWizard will add data members here.
  108. // DO NOT EDIT what you see in these blocks of generated code !
  109. //}}AFX_DATA
  110. // Overrides
  111. // ClassWizard generate virtual function overrides
  112. //{{AFX_VIRTUAL(CStartUpWizard)
  113. public:
  114. virtual BOOL OnSetActive();
  115. protected:
  116. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  117. //}}AFX_VIRTUAL
  118. // Implementation
  119. protected:
  120. // Generated message map functions
  121. //{{AFX_MSG(CStartUpWizard)
  122. virtual BOOL OnInitDialog();
  123. //}}AFX_MSG
  124. DECLARE_MESSAGE_MAP()
  125. };
  126. /////////////////////////////////////////////////////////////////////////////
  127. // CStartupWizard1 dialog
  128. class CStartupWizard1 : public CBaseWizard
  129. {
  130. DECLARE_DYNCREATE(CStartupWizard1)
  131. // Construction
  132. public:
  133. CStartupWizard1();
  134. ~CStartupWizard1();
  135. // Dialog Data
  136. //{{AFX_DATA(CStartupWizard1)
  137. enum { IDD = IDD_INSERT_WIZARD };
  138. // NOTE - ClassWizard will add data members here.
  139. // DO NOT EDIT what you see in these blocks of generated code !
  140. //}}AFX_DATA
  141. // Overrides
  142. // ClassWizard generate virtual function overrides
  143. //{{AFX_VIRTUAL(CStartupWizard1)
  144. public:
  145. virtual BOOL OnSetActive();
  146. protected:
  147. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  148. //}}AFX_VIRTUAL
  149. // Implementation
  150. protected:
  151. // Generated message map functions
  152. //{{AFX_MSG(CStartupWizard1)
  153. virtual BOOL OnInitDialog();
  154. //}}AFX_MSG
  155. DECLARE_MESSAGE_MAP()
  156. };