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.

109 lines
2.2 KiB

  1. //
  2. // Application Verifier UI
  3. // Copyright (c) Microsoft Corporation, 2001
  4. //
  5. //
  6. //
  7. // module: SelApp.h
  8. // author: DMihai
  9. // created: 02/22/2001
  10. //
  11. // Description:
  12. //
  13. // "Select applications to be verified" wizard page class.
  14. //
  15. #if !defined(AFX_SELAPP_H__53006A6E_5491_4629_B683_11535F0229A2__INCLUDED_)
  16. #define AFX_SELAPP_H__53006A6E_5491_4629_B683_11535F0229A2__INCLUDED_
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif // _MSC_VER > 1000
  20. #include "AVPage.h"
  21. #include "Setting.h"
  22. //
  23. // Forward declarations
  24. //
  25. class CApplicationData;
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CSelectAppPage dialog
  28. class CSelectAppPage : public CAppverifPage
  29. {
  30. DECLARE_DYNCREATE(CSelectAppPage)
  31. public:
  32. CSelectAppPage();
  33. ~CSelectAppPage();
  34. protected:
  35. VOID SetupListHeader();
  36. VOID SortTheList();
  37. INT AddListItem( INT_PTR nIndexInArray,
  38. CApplicationData *pAppData );
  39. VOID FillTheList();
  40. //
  41. // Overrides
  42. //
  43. //
  44. // All the property pages derived from this class should
  45. // provide this method.
  46. //
  47. virtual ULONG GetDialogId() const;
  48. //
  49. // ClassWizard generate virtual function overrides
  50. //
  51. //{{AFX_VIRTUAL(CSelectAppPage)
  52. public:
  53. virtual BOOL OnSetActive();
  54. virtual BOOL OnWizardFinish();
  55. protected:
  56. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  57. //}}AFX_VIRTUAL
  58. protected:
  59. //
  60. // Dialog Data
  61. //
  62. CApplicationDataArray m_aCurrentAppData;
  63. //{{AFX_DATA(CSelectAppPage)
  64. enum { IDD = IDD_APPLICATION_PAGE };
  65. CListCtrl m_AppList;
  66. CStatic m_NextDescription;
  67. //}}AFX_DATA
  68. protected:
  69. //
  70. // Generated message map functions
  71. //
  72. //{{AFX_MSG(CSelectAppPage)
  73. virtual BOOL OnInitDialog();
  74. afx_msg LONG OnHelp( WPARAM wParam, LPARAM lParam );
  75. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  76. afx_msg void OnAddButton();
  77. afx_msg void OnRemoveButton();
  78. //}}AFX_MSG
  79. DECLARE_MESSAGE_MAP()
  80. };
  81. //{{AFX_INSERT_LOCATION}}
  82. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  83. #endif // !defined(AFX_SELAPP_H__53006A6E_5491_4629_B683_11535F0229A2__INCLUDED_)