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.

98 lines
2.2 KiB

  1. //
  2. // Application Verifier UI
  3. // Copyright (c) Microsoft Corporation, 2001
  4. //
  5. //
  6. //
  7. // module: AVPage.h
  8. // author: DMihai
  9. // created: 02/22/2001
  10. //
  11. // Description:
  12. //
  13. // Common parent for all our wizard property page classes
  14. //
  15. #if !defined(AFX_VERFPAGE_H__FCFF7AE3_57F4_4762_BEBD_F84C571B533A__INCLUDED_)
  16. #define AFX_VERFPAGE_H__FCFF7AE3_57F4_4762_BEBD_F84C571B533A__INCLUDED_
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif // _MSC_VER > 1000
  20. // AVPage.h : header file
  21. //
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CAppverifPage dialog
  24. class CAppverifPage : public CPropertyPage
  25. {
  26. DECLARE_DYNAMIC(CAppverifPage)
  27. // Construction
  28. public:
  29. CAppverifPage( ULONG uDialogId );
  30. ~CAppverifPage();
  31. public:
  32. VOID SetParentSheet( CPropertySheet *pParentSheet )
  33. {
  34. m_pParentSheet = pParentSheet;
  35. };
  36. protected:
  37. //
  38. // All the property pages derived from this class should
  39. // provide this method.
  40. //
  41. virtual ULONG GetDialogId() const = 0;
  42. //
  43. // Return the previous page ID, based on our history array
  44. // and remove it from the array because will activate. Called
  45. // by our property pages when the "back" button is clicked
  46. //
  47. ULONG GetAndRemovePreviousDialogId();
  48. //
  49. // Property pages derived from this class should notify us
  50. // whenever we go to a next page to record the current page ID in
  51. // the global array m_aPageIds
  52. //
  53. VOID GoingToNextPageNotify( LRESULT lNextPageId );
  54. protected:
  55. //
  56. // Data
  57. //
  58. CPropertySheet *m_pParentSheet;
  59. //
  60. // Overrides
  61. //
  62. //
  63. // ClassWizard generate virtual function overrides
  64. //
  65. //{{AFX_VIRTUAL(CAppverifPage)
  66. virtual LRESULT OnWizardBack();
  67. //}}AFX_VIRTUAL
  68. // Implementation
  69. protected:
  70. // Generated message map functions
  71. //{{AFX_MSG(CAppverifPage)
  72. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  73. //}}AFX_MSG
  74. DECLARE_MESSAGE_MAP()
  75. };
  76. //{{AFX_INSERT_LOCATION}}
  77. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  78. #endif // !defined(AFX_VERFPAGE_H__FCFF7AE3_57F4_4762_BEBD_F84C571B533A__INCLUDED_)