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.

125 lines
2.7 KiB

  1. //
  2. // Driver Verifier UI
  3. // Copyright (c) Microsoft Corporation, 1999
  4. //
  5. //
  6. //
  7. // module: CSetPage.h
  8. // author: DMihai
  9. // created: 11/1/00
  10. //
  11. // Description:
  12. //
  13. #if !defined(AFX_CSETPAGE_H__4DAAEAE1_F3E9_42D0_B0F5_5FAC8C40A12B__INCLUDED_)
  14. #define AFX_CSETPAGE_H__4DAAEAE1_F3E9_42D0_B0F5_5FAC8C40A12B__INCLUDED_
  15. #if _MSC_VER > 1000
  16. #pragma once
  17. #endif // _MSC_VER > 1000
  18. // CSetPage.h : header file
  19. //
  20. #include "vsetting.h"
  21. #include "VerfPage.h"
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CCustSettPage dialog
  24. class CCustSettPage : public CVerifierPropertyPage
  25. {
  26. DECLARE_DYNCREATE(CCustSettPage)
  27. public:
  28. //
  29. // Construction
  30. //
  31. CCustSettPage();
  32. ~CCustSettPage();
  33. //
  34. // Methods
  35. //
  36. VOID SetParentSheet( CPropertySheet *pParentSheet )
  37. {
  38. m_pParentSheet = pParentSheet;
  39. ASSERT( m_pParentSheet != NULL );
  40. }
  41. protected:
  42. //
  43. // Methods
  44. //
  45. VOID EnablePredefCheckboxes( BOOL bEnable );
  46. protected:
  47. //
  48. // Data
  49. //
  50. CPropertySheet *m_pParentSheet;
  51. //
  52. // Dialog Data
  53. //
  54. //{{AFX_DATA(CCustSettPage)
  55. enum { IDD = IDD_CUSTSETT_PAGE };
  56. CStatic m_NextDescription;
  57. CButton m_TypicalTestsCheck;
  58. CButton m_LowresTestsCheck;
  59. CButton m_ExcessTestsCheck;
  60. CButton m_DiskTestsCheck;
  61. BOOL m_bTypicalTests;
  62. BOOL m_bExcessiveTests;
  63. BOOL m_bIndividialTests;
  64. BOOL m_bLowResTests;
  65. BOOL m_bDiskTests;
  66. int m_nCrtRadio;
  67. //}}AFX_DATA
  68. //
  69. // Overrides
  70. //
  71. //
  72. // All the property pages derived from this class should
  73. // provide these methods.
  74. //
  75. virtual ULONG GetDialogId() const { return IDD; }
  76. //
  77. // ClassWizard generated virtual function overrides
  78. //
  79. //{{AFX_VIRTUAL(CCustSettPage)
  80. public:
  81. virtual LRESULT OnWizardNext();
  82. virtual LRESULT OnWizardBack();
  83. virtual BOOL OnSetActive();
  84. protected:
  85. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  86. //}}AFX_VIRTUAL
  87. // Implementation
  88. protected:
  89. // Generated message map functions
  90. //{{AFX_MSG(CCustSettPage)
  91. virtual BOOL OnInitDialog();
  92. afx_msg void OnFulllistRadio();
  93. afx_msg void OnPredefRadio();
  94. afx_msg LONG OnHelp( WPARAM wParam, LPARAM lParam );
  95. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  96. //}}AFX_MSG
  97. DECLARE_MESSAGE_MAP()
  98. };
  99. //{{AFX_INSERT_LOCATION}}
  100. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  101. #endif // !defined(AFX_CSETPAGE_H__4DAAEAE1_F3E9_42D0_B0F5_5FAC8C40A12B__INCLUDED_)