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.

74 lines
2.0 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation 1996-2001.
  5. //
  6. // File: precpage.h
  7. //
  8. // Contents: definition of CPrecedencePage
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_PRECPAGE_H__CE5002B0_6D67_4DB3_98C9_17D31A493E85__INCLUDED_)
  12. #define AFX_PRECPAGE_H__CE5002B0_6D67_4DB3_98C9_17D31A493E85__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. #include "cookie.h"
  17. #include "wmihooks.h"
  18. #include "SelfDeletingPropertyPage.h"
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CPrecedencePage dialog
  21. class CPrecedencePage : public CSelfDeletingPropertyPage
  22. {
  23. DECLARE_DYNCREATE(CPrecedencePage)
  24. // Construction
  25. public:
  26. CPrecedencePage();
  27. virtual ~CPrecedencePage();
  28. virtual void SetTitle(LPCTSTR sz) { m_strTitle = sz; };
  29. virtual void Initialize(CResult *pResult,CWMIRsop *pWMI);
  30. // Dialog Data
  31. //{{AFX_DATA(CPrecedencePage)
  32. enum { IDD = IDD_PRECEDENCE };
  33. CListCtrl m_PrecedenceList;
  34. CStatic m_iconError;
  35. CString m_strSuccess;
  36. CString m_strTitle;
  37. CString m_strError;
  38. //}}AFX_DATA
  39. // Overrides
  40. // ClassWizard generate virtual function overrides
  41. //{{AFX_VIRTUAL(CPrecedencePage)
  42. protected:
  43. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. protected:
  47. DWORD_PTR m_pHelpIDs;
  48. void DoContextHelp(HWND hWndControl);
  49. // Generated message map functions
  50. //{{AFX_MSG(CPrecedencePage)
  51. virtual BOOL OnInitDialog();
  52. //}}AFX_MSG
  53. afx_msg BOOL OnHelp(WPARAM wParam, LPARAM lParam);
  54. afx_msg BOOL OnContextHelp(WPARAM wParam, LPARAM lParam);
  55. DECLARE_MESSAGE_MAP()
  56. CResult *m_pResult;
  57. CWMIRsop *m_pWMI;
  58. };
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  61. #endif // !defined(AFX_PRECPAGE_H__CE5002B0_6D67_4DB3_98C9_17D31A493E85__INCLUDED_)