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.

122 lines
2.5 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. BOOL m_bTypicalTests;
  61. BOOL m_bExcessiveTests;
  62. BOOL m_bIndividialTests;
  63. BOOL m_bLowResTests;
  64. int m_nCrtRadio;
  65. //}}AFX_DATA
  66. //
  67. // Overrides
  68. //
  69. //
  70. // All the property pages derived from this class should
  71. // provide these methods.
  72. //
  73. virtual ULONG GetDialogId() const { return IDD; }
  74. //
  75. // ClassWizard generated virtual function overrides
  76. //
  77. //{{AFX_VIRTUAL(CCustSettPage)
  78. public:
  79. virtual LRESULT OnWizardNext();
  80. virtual BOOL OnSetActive();
  81. protected:
  82. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  83. //}}AFX_VIRTUAL
  84. // Implementation
  85. protected:
  86. // Generated message map functions
  87. //{{AFX_MSG(CCustSettPage)
  88. virtual BOOL OnInitDialog();
  89. afx_msg void OnFulllistRadio();
  90. afx_msg void OnPredefRadio();
  91. afx_msg LONG OnHelp( WPARAM wParam, LPARAM lParam );
  92. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  93. //}}AFX_MSG
  94. DECLARE_MESSAGE_MAP()
  95. };
  96. //{{AFX_INSERT_LOCATION}}
  97. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  98. #endif // !defined(AFX_CSETPAGE_H__4DAAEAE1_F3E9_42D0_B0F5_5FAC8C40A12B__INCLUDED_)