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.

110 lines
2.3 KiB

  1. //
  2. // Application Verifier UI
  3. // Copyright (c) Microsoft Corporation, 2001
  4. //
  5. //
  6. //
  7. // module: ViewSett.h
  8. // author: DMihai
  9. // created: 02/22/2001
  10. //
  11. // Description:
  12. //
  13. // "View current registry settings" wizard page class.
  14. //
  15. #if !defined(AFX_VIEWSETT_H__C2472BD0_7D7B_4539_BBB3_B52C52919EDF__INCLUDED_)
  16. #define AFX_VIEWSETT_H__C2472BD0_7D7B_4539_BBB3_B52C52919EDF__INCLUDED_
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif // _MSC_VER > 1000
  20. #include "AVPage.h"
  21. //
  22. // Forward declarations
  23. //
  24. class CAppAndBits;
  25. /////////////////////////////////////////////////////////////////////////////
  26. // CViewSettPage dialog
  27. class CViewSettPage : public CAppverifPage
  28. {
  29. DECLARE_DYNCREATE(CViewSettPage)
  30. // Construction
  31. public:
  32. CViewSettPage();
  33. ~CViewSettPage();
  34. protected:
  35. VOID SetupListHeaderApps();
  36. VOID SetupListHeaderBits();
  37. VOID FillTheLists();
  38. BOOL FillBitsList();
  39. INT AddListItemApps( CAppAndBits *pCrtPair,
  40. INT_PTR nIndexInArray );
  41. VOID UpdateBitsList( CAppAndBits *pCrtPair );
  42. VOID UpdateListItemBits( CAppAndBits *pCrtPair,
  43. INT nCrtItem );
  44. VOID UpdateBitsListFromSelectedApp();
  45. //
  46. // Overrides
  47. //
  48. //
  49. // All the property pages derived from this class should
  50. // provide this method.
  51. //
  52. virtual ULONG GetDialogId() const;
  53. //
  54. // ClassWizard generate virtual function overrides
  55. //
  56. //{{AFX_VIRTUAL(CViewSettPage)
  57. public:
  58. virtual BOOL OnSetActive();
  59. protected:
  60. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  61. //}}AFX_VIRTUAL
  62. protected:
  63. // Dialog Data
  64. //{{AFX_DATA(CViewSettPage)
  65. enum { IDD = IDD_VIEWSETT_PAGE };
  66. CStatic m_UpperStatic;
  67. CStatic m_NextDescription;
  68. CListCtrl m_BitsList;
  69. CListCtrl m_AppsList;
  70. //}}AFX_DATA
  71. protected:
  72. //
  73. // Generated message map functions
  74. //
  75. //{{AFX_MSG(CViewSettPage)
  76. virtual BOOL OnInitDialog();
  77. afx_msg LONG OnHelp( WPARAM wParam, LPARAM lParam );
  78. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  79. afx_msg void OnItemchangedAppsList(NMHDR* pNMHDR, LRESULT* pResult);
  80. //}}AFX_MSG
  81. DECLARE_MESSAGE_MAP()
  82. };
  83. //{{AFX_INSERT_LOCATION}}
  84. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  85. #endif // !defined(AFX_VIEWSETT_H__C2472BD0_7D7B_4539_BBB3_B52C52919EDF__INCLUDED_)